Permalink
Browse files

added option to have numbers in the bookmark pane (PDF output)

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Jan 11, 2014
1 parent 158ffb7 commit 62cf79095c4d02ff1c737e02f91f8dcea2175b9e
Showing with 5 additions and 1 deletion.
  1. +5 −1 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"

0 comments on commit 62cf790

Please sign in to comment.