]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.cpp
Update buffer after preferences change.
[lyx.git] / src / PDFOptions.cpp
index a4d23ee5a96627d870981b4908b3162c460d9c47..b030baa62e93dc7784801cd0e604718c9965c12e 100644 (file)
@@ -97,6 +97,10 @@ void PDFOptions::writeLaTeX(OutputParams & runparams, otexstream & os,
        string opt;
        string hyperset;
 
+       // Driver needed by specific converters
+       if (!runparams.hyperref_driver.empty())
+               opt += runparams.hyperref_driver + ",";
+
        // since LyX uses unicode, also set the PDF strings to unicode strings with the
        // hyperref option "unicode"
        opt += "unicode=true,";