summaryrefslogtreecommitdiff
path: root/test/lhs-test.latex
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 /test/lhs-test.latex
parentf3fcdd52c8bc722862ea73958d41fe53ec03ec1d (diff)
LaTeX template: Move `\sout` correction after hyperref.
This fixes the previous change the default.latex.
Diffstat (limited to 'test/lhs-test.latex')
-rw-r--r--test/lhs-test.latex2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lhs-test.latex b/test/lhs-test.latex
index a83e31202..4ec0133db 100644
--- a/test/lhs-test.latex
+++ b/test/lhs-test.latex
@@ -81,6 +81,8 @@
\usepackage{selnolig} % disable illegal ligatures
\fi
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
+% Avoid problems with \sout in headers with hyperref
+\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
\hypersetup{
hidelinks,
pdfcreator={LaTeX via pandoc}}