]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.cpp
adjust
[lyx.git] / src / PDFOptions.cpp
index 8abb0d98989bf0a13871782f2686c3bdee020f3b..22b8ff310c36440de905b59daee434bc526a0dcc 100644 (file)
@@ -86,9 +86,9 @@ void PDFOptions::writeFile(ostream & os) const
                os << "\\pdf_quoted_options \"" << quoted_options << "\"\n";
 }
 
-void PDFOptions::writeLaTeX(odocstringstream &os) const
+void PDFOptions::writeLaTeX(odocstringstream &os, bool hyper_required) const
 {
-       if (!use_hyperref)
+       if (!use_hyperref && !hyper_required)
                return;
        
        string opt;
@@ -188,8 +188,6 @@ string PDFOptions::readToken(Lexer &lex, string const & token)
                lex >> pagemode;
        } else if (token == "\\pdf_quoted_options") {
                lex >> quoted_options;
-       } else if (token == "\\pdf_store_options") {
-               //leftover from previous option; intended for later removal
        } else {
                return token;
        }