diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-01-19 11:43:30 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-19 11:43:30 -0800 |
commit | 9a739e30bfb979bf94084ada114ca80a0f793b6c (patch) | |
tree | 79af5775c57ae9e154b3d1b268eb3123aefe77d6 /tests/latex-reader.latex | |
parent | 933cdaf4c88b2b5aa45bd2f09b71e8d28b605a10 (diff) |
Fixed problem with strikout in LaTeX headers with hyperref.
Added a command to the latex template to disable \sout inside
pdf strings. Thanks to Joost Kremers for the fix.
Diffstat (limited to 'tests/latex-reader.latex')
-rw-r--r-- | tests/latex-reader.latex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/latex-reader.latex b/tests/latex-reader.latex index 3f17c0e6b..26715da7a 100644 --- a/tests/latex-reader.latex +++ b/tests/latex-reader.latex @@ -6,6 +6,8 @@ \newcommand{\textsubscript}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}} \usepackage[breaklinks=true,unicode=true]{hyperref} +% avoid problems with \sout in headers with hyperref: +\pdfstringdefDisableCommands{\renewcommand{\sout}{}} \usepackage[normalem]{ulem} \usepackage{enumerate} \usepackage{fancyvrb} |