LateX: Instead of having multiple imports of listings, combine to one.

This commit is contained in:
John MacFarlane 2011-12-23 18:23:48 -08:00
parent ac3ddfed96
commit 0d116481c0

View file

@ -22,8 +22,10 @@ $if(biblio-files)$
\bibliography{$biblio-files$}
$endif$
$endif$
$if(lhs)$
$if(listings)$
\usepackage{listings}
$endif$
$if(lhs)$
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
$endif$
$if(highlighting-macros)$
@ -79,9 +81,6 @@ $endif$
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\setlength{\emergencystretch}{3em} % prevent overfull lines
$if(listings)$
\usepackage{listings}
$endif$
$if(numbersections)$
$else$
\setcounter{secnumdepth}{0}