LaTeX template: Use bookmark if available

The `bookmark` package can sometimes correct the levels of headings where `hyperref` cannot: see <https://komascript.de/release3.26>.
This commit is contained in:
Andrew Dunning 2019-01-01 17:31:39 -05:00
parent 6a71997fcb
commit 8feda269b0

View file

@ -199,7 +199,7 @@ $if(verbatim-in-note)$
$endif$
\IfFileExists{xcolor.sty}{\usepackage{xcolor}}{}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\usepackage{hyperref}
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{
$if(title-meta)$
pdftitle={$title-meta$},