From b4925d08c6b6e9152b9775a15df01809b370dc77 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Tue, 5 Jan 2010 08:35:55 +0000 Subject: 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 --- templates/latex.template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'templates') 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} -- cgit v1.2.3