diff options
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 90384ec..cf19c9b 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -229,9 +229,12 @@ static void writeDefaultHeaderPart1(QTextStream &t) "\\usepackage{alltt}\n" //"\\usepackage{ae,aecompl,aeguill}\n" ; - if (Config_getBool("PDF_HYPERLINKS")) + if (Config_getBool("USE_PDFLATEX")) { t << "\\usepackage{times}" << endl; + } + if (Config_getBool("PDF_HYPERLINKS")) + { t << "\\ifx\\pdfoutput\\undefined" << endl << "\\usepackage[ps2pdf," << endl << " pagebackref=true," << endl |