diff options
Diffstat (limited to 'tests/writer.latex')
-rw-r--r-- | tests/writer.latex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/writer.latex b/tests/writer.latex index 0337cb56c..e6adff585 100644 --- a/tests/writer.latex +++ b/tests/writer.latex @@ -11,6 +11,8 @@ }\makeatother \usepackage{enumerate} \usepackage[normalem]{ulem} +% avoid problems with \sout in headers with hyperref: +\pdfstringdefDisableCommands{\renewcommand{\sout}{}} \newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}} \usepackage{url} \usepackage{graphicx} @@ -24,8 +26,6 @@ \let\Oldincludegraphics\includegraphics \renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} \usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref} -% avoid problems with \sout in headers with hyperref: -\pdfstringdefDisableCommands{\renewcommand{\sout}{}} \setlength{\parindent}{0pt} \setlength{\parskip}{6pt plus 2pt minus 1pt} \setcounter{secnumdepth}{0} |