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
@@ -1,7 +1,9 @@
\pdfbookmark[0]{Known Beasts}{Known Beasts}
\section*{Known Beasts}
[% if use_dnd_decorations %]
[% for shape in character.all_wild_shapes|sort(attribute='challenge_rating') %]
\pdfbookmark[1]{[[ shape.name ]]}{Known Beasts - [[ shape.name ]]}
[% if not character.can_assume_shape(shape) %]
\subsection*{Cannot assume form}
[% endif %]
@@ -42,6 +44,7 @@
[% else %]
[% for shape in character.all_wild_shapes|sort(attribute='challenge_rating') %]
\pdfbookmark[1]{[[ shape.name ]]}{Known Beasts - [[ shape.name ]]}
[% if not character.can_assume_shape(shape) %]
{\color{mygrey}
[% else %]
@@ -94,4 +97,4 @@
} %\color
[% endfor %]
[% endif %]
[% endif %]