Remove special redefinition of \sout.

This used to be necessary to avoid problems with hyperref,
when headings contain strikeout text, but it does not seem to be
necessary any more (tested).
This commit is contained in:
John MacFarlane 2022-03-13 17:18:31 -07:00
parent 6328ac5097
commit 8d3959ea29
5 changed files with 0 additions and 10 deletions

View file

@ -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$},

View file

@ -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}}

View file

@ -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}}

View file

@ -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},

View file

@ -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,