GM session notes PDF now has a outline.

This commit is contained in:
Mark Wolfman
2021-07-01 22:09:27 -05:00
parent 084ea27d00
commit d678002131
4 changed files with 9 additions and 3 deletions
@@ -1,7 +1,9 @@
\pdfbookmark[0]{Monsters}{Monsters}
\section*{Monsters}
[% if use_dnd_decorations %]
[% for monster in monsters|sort(attribute='name') %]
\pdfbookmark[1]{[[ monster.name ]]}{Monsters - [[ monster.name ]]}
\begin{DndMonster}{[[ monster.name ]]}
\DndMonsterType{[[ monster.description ]]}
@@ -40,6 +42,7 @@
[% else %]
[% for monster in monsters|sort(attribute='name') %]
{
\pdfbookmark[1]{[[ monster.name ]]}{Monsters - [[ monster.name ]]}
\section*{[[ monster.name ]]}
[% if monster.description %]
\subsection*{[[ monster.description ]]}
@@ -1,5 +1,5 @@
[% if summary %]
\pdfbookmark[1]{Summary}{Summary}
\section*{Summary}
[[ summary | rst_to_latex ]]
@@ -7,7 +7,7 @@
[% endif %]
[% if party %]
\pdfbookmark[1]{Party}{Party}
\section*{Party}
[% if use_dnd_decorations %]
+2 -1
View File
@@ -4,7 +4,8 @@
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{alltt}
\usepackage[bookmarks=true,bookmarksopen=true]{hyperref}
\usepackage{bookmark}
\usepackage{supertabular}
% Make lists more compact
@@ -1,8 +1,10 @@
\pdfbookmark[0]{Random Tables}{Random Tables}
\section*{Random Tables}
[% if conjure_animals %]
%% https://the-azure-triskele.obsidianportal.com/wikis/conjure-animals-table
\pdfbookmark[1]{Conjure Animals}{Random Tables - Conjure Animals}
\subsection*{Conjure Animals}
%% Which category of beasts to summon