From 9fe29fb7bb6577c019f5cb66be5999bb2770d267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=B6lkes?= Date: Fri, 29 Dec 2023 23:09:44 +0100 Subject: [PATCH] add option to enabled numbered bookmarks --- docs/index.md | 4 ++++ eisvogel.tex | 3 +++ 2 files changed, 7 insertions(+) diff --git a/docs/index.md b/docs/index.md index 46b8f8f..58fa84d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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 diff --git a/eisvogel.tex b/eisvogel.tex index 109cb83..3f3645a 100644 --- a/eisvogel.tex +++ b/eisvogel.tex @@ -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$