From bb36f127e2487144110973b450f57a67a66e5db4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 3 Nov 2023 10:40:38 -0700 Subject: 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. --- data/templates/default.latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') 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)$ -- cgit v1.2.3