LaTeX template: Fix regression with code in footnotes...
...due to moving hyperref later in the template. Closes #7964.
This commit is contained in:
parent
9b5e6a8944
commit
c9cf8568bf
2 changed files with 4 additions and 4 deletions
|
@ -212,9 +212,6 @@ $endif$
|
|||
\usepackage{xcolor}
|
||||
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
|
||||
\urlstyle{same} % disable monospaced font for URLs
|
||||
$if(verbatim-in-note)$
|
||||
\VerbatimFootnotes % allow verbatim text in footnotes
|
||||
$endif$
|
||||
$if(geometry)$
|
||||
$if(beamer)$
|
||||
\geometry{$for(geometry)$$geometry$$sep$,$endfor$}
|
||||
|
@ -381,6 +378,9 @@ $if(csquotes)$
|
|||
\usepackage{csquotes}
|
||||
$endif$
|
||||
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
|
||||
$if(verbatim-in-note)$
|
||||
\VerbatimFootnotes % allow verbatim text in footnotes
|
||||
$endif$
|
||||
\hypersetup{
|
||||
$if(title-meta)$
|
||||
pdftitle={$title-meta$},
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
\usepackage{xcolor}
|
||||
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
|
||||
\urlstyle{same} % disable monospaced font for URLs
|
||||
\VerbatimFootnotes % allow verbatim text in footnotes
|
||||
\usepackage{graphicx}
|
||||
\makeatletter
|
||||
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
||||
|
@ -59,6 +58,7 @@
|
|||
\usepackage{selnolig} % disable illegal ligatures
|
||||
\fi
|
||||
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
|
||||
\VerbatimFootnotes % allow verbatim text in footnotes
|
||||
\hypersetup{
|
||||
pdftitle={Pandoc Test Suite},
|
||||
pdfauthor={John MacFarlane; Anonymous},
|
||||
|
|
Loading…
Add table
Reference in a new issue