aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-11-03 10:40:38 -0700
committerJohn MacFarlane <[email protected]>2023-11-03 10:40:38 -0700
commitbb36f127e2487144110973b450f57a67a66e5db4 (patch)
tree6d5fa4f1367c8cf46718b0d78dd3dd4879fa7e60 /data
parent5132f1ef330d3eb2a0bf87037035beaeaf19d3f3 (diff)
LaTeX template: include bookmark package unconditionally.
This package produces better PDF bookmarks than hyperref and does it on the first pass. As a consequence, we now default to running LaTeX only once in producing a PDF (instead of twice). If a table of contents is present, we still have to run three times to get the page numbers.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 94aac2670..deac9871d 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -425,7 +425,7 @@ $endif$
$if(csquotes)$
\usepackage{csquotes}
$endif$
-\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
+\usepackage{bookmark}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\urlstyle{$if(urlstyle)$$urlstyle$$else$same$endif$}
$if(links-as-notes)$