summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-03-13 15:25:32 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-03-13 15:25:32 -0700
commit6328ac5097ac98b3093aa17c15a1eaf61d484629 (patch)
treebe264c390bbf02327a4d051fa05c468939a39f94 /data
parentf3fcdd52c8bc722862ea73958d41fe53ec03ec1d (diff)
LaTeX template: Move `\sout` correction after hyperref.
This fixes the previous change the default.latex.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index e83806940..aa262ee80 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -282,8 +282,6 @@ $endif$
$if(strikeout)$
$-- also used for underline
\usepackage[normalem]{ulem}
-% Avoid problems with \sout in headers with hyperref
-\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
$endif$
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
@@ -383,6 +381,8 @@ $if(csquotes)$
\usepackage{csquotes}
$endif$
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
+% Avoid problems with \sout in headers with hyperref
+\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
\hypersetup{
$if(title-meta)$
pdftitle={$title-meta$},