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