Character sheet PDF's now have outline bookmarks.

This commit is contained in:
Mark Wolfman
2021-07-01 22:29:42 -05:00
parent 27cbd7c8a2
commit dbea8f5dce
6 changed files with 24 additions and 13 deletions
+5 -3
View File
@@ -1,13 +1,15 @@
\section*{Features}
\pdfbookmark[0]{Features}{Features}
\section*{Features}
[% if use_dnd_decorations %]
[% for feat in character.features %]
\pdfbookmark[1]{[[ feat.name ]]}{Features - [[ feat.name ]]}
\DndFeatHeader{[[ feat.name ]]}[Source: [[ feat.source ]]]
[[ feat.__doc__|rst_to_latex ]]
[% endfor %]
[% else %]
[% for feat in character.features %]
\pdfbookmark[1]{[[ feat.name ]]}{Features - [[ feat.name ]]}
\subsection*{[[ feat.name ]]}
\noindent
@@ -20,4 +22,4 @@
[[ feat.__doc__|rst_to_latex ]]
[% endfor %]
[% endif %]
[% endif %]