mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-06 04:38:28 +02:00
Character sheet PDF's now have outline bookmarks.
This commit is contained in:
@@ -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 %]
|
||||
|
||||
Reference in New Issue
Block a user