From 654c39a7d2de17149feb180703f371f2f54e41a5 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 21 Jan 2011 19:24:00 -0800 Subject: latex template: move special treatment of \sout. It needs to be inside the if(strikeout) condition, after the ulem package is imported; otherwise we try to renewcommand{\sout} when \sout isn't yet defined. --- tests/lhs-test.latex+lhs | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/lhs-test.latex+lhs') diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index 238a045ba..29237f820 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -5,8 +5,6 @@ \usepackage{listings} \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} \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} -- cgit v1.2.3