summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-01-11 14:18:58 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-01-11 14:18:58 (GMT)
commit62cf79095c4d02ff1c737e02f91f8dcea2175b9e (patch)
tree37eceeb11b2708791a807ebbc77e238e622b6866 /src/latexgen.cpp
parent158ffb7f8921b120eafea0e356a5362ea6c71ba6 (diff)
downloadDoxygen-62cf79095c4d02ff1c737e02f91f8dcea2175b9e.zip
Doxygen-62cf79095c4d02ff1c737e02f91f8dcea2175b9e.tar.gz
Doxygen-62cf79095c4d02ff1c737e02f91f8dcea2175b9e.tar.bz2
added option to have numbers in the bookmark pane (PDF output)
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index c68cbed..6db6148 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -464,7 +464,11 @@ static void writeDefaultHeaderPart1(FTextStream &t)
{
// To avoid duplicate page anchors due to reuse of same numbers for
// the index (be it as roman numbers)
- t << "\\hypersetup{pageanchor=false}\n";
+ t << "\\hypersetup{pageanchor=false,\n"
+ << " bookmarks=true,\n"
+ << " bookmarksnumbered=true,\n"
+ << " pdfencoding=unicode\n"
+ << " }\n";
}
t << "\\pagenumbering{roman}\n"
"\\begin{titlepage}\n"