aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-01-05 08:35:55 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-01-05 08:35:55 +0000
commitb4925d08c6b6e9152b9775a15df01809b370dc77 (patch)
treec535d363e3d2934e5f81197bc05f9dd18cda9965 /templates
parentd5d67f9657e1a9c29e3a017069c6f0a7dde9a6ad (diff)
downloadpandoc-b4925d08c6b6e9152b9775a15df01809b370dc77.tar.gz
LaTeX template: always include hyperref package.
It is used not just for links but for toc, section heading bookmarks, footnotes, etc. Also added unicode=true on hyperref options. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1795 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates')
-rw-r--r--templates/latex.template8
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/latex.template b/templates/latex.template
index 30ecf8a3e..fb40d506a 100644
--- a/templates/latex.template
+++ b/templates/latex.template
@@ -20,8 +20,6 @@ $if(lhs)$
\usepackage{listings}
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
$endif$
-\setlength{\parindent}{0pt}
-\setlength{\parskip}{6pt plus 2pt minus 1pt}
$endif$
$if(verbatim-in-note)$
\usepackage{fancyvrb}
@@ -41,15 +39,15 @@ $endif$
$if(subscript)$
\newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}}
$endif$
-$if(links)$
-\usepackage[breaklinks=true]{hyperref}
-$endif$
$if(url)$
\usepackage{url}
$endif$
$if(graphics)$
\usepackage{graphicx}
$endif$
+\usepackage[breaklinks=true,unicode=true]{hyperref}
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{6pt plus 2pt minus 1pt}
$if(numbersections)$
$else$
\setcounter{secnumdepth}{0}