add option to enabled numbered bookmarks

This commit is contained in:
Christian Lölkes 2023-12-29 23:09:44 +01:00
parent cd58c398c7
commit 9fe29fb7bb
2 changed files with 7 additions and 0 deletions

@ -168,6 +168,10 @@ This template defines some new variables to control the appearance of the result
LaTeX command to change the font size for code blocks. The available values are `\tiny`, `\scriptsize`, `\footnotesize`, `\small`, `\normalsize`, `\large`, `\Large`, `\LARGE`, `\huge` and `\Huge`. This option will change the font size for default code blocks using the verbatim environment and for code blocks generated with listings.
- `bookmarks-numbered` (defaults to `false`)
Use numbered bookmarks for sections and chapters. Required pandoc argument `--number-sections`.
## Required LaTeX Packages
LaTeX manages addons and additional functionality in so called packages. You

@ -529,6 +529,9 @@ $if(verbatim-in-note)$
\VerbatimFootnotes % allow verbatim text in footnotes
$endif$
\hypersetup{
$if(bookmarks-numbered)$
bookmarksnumbered,
$endif$
$if(title-meta)$
pdftitle={$title-meta$},
$endif$