diff --git a/data/templates/default.latex b/data/templates/default.latex index aa262ee80..c25f75ff0 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -381,8 +381,6 @@ $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$}, diff --git a/test/lhs-test.latex b/test/lhs-test.latex index 4ec0133db..a83e31202 100644 --- a/test/lhs-test.latex +++ b/test/lhs-test.latex @@ -81,8 +81,6 @@ \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}} diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index 24bcc255d..54af9388f 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -48,8 +48,6 @@ \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}} diff --git a/test/writer.latex b/test/writer.latex index 0074b7b1d..554efc7b6 100644 --- a/test/writer.latex +++ b/test/writer.latex @@ -59,8 +59,6 @@ \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{ pdftitle={Pandoc Test Suite}, pdfauthor={John MacFarlane; Anonymous}, diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex index 8a5301085..eb466c266 100644 --- a/test/writers-lang-and-dir.latex +++ b/test/writers-lang-and-dir.latex @@ -64,8 +64,6 @@ \newenvironment{LTR}{\beginL}{\endL} \fi \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} -% Avoid problems with \sout in headers with hyperref -\pdfstringdefDisableCommands{\renewcommand{\sout}{}} \hypersetup{ pdflang={en}, hidelinks,