summaryrefslogtreecommitdiff
path: root/tests/writer.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-06-03 11:08:57 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-06-03 11:08:57 -0700
commit9ab5b00221530de54805cf2a95d773ed51c6d8d1 (patch)
tree671b2a31193081bfe637eccb406f0f306f444480 /tests/writer.latex
parentc8c09cc403dc1336b5d7582059bf44c34e34cdd5 (diff)
Updated test suite.
Diffstat (limited to 'tests/writer.latex')
-rw-r--r--tests/writer.latex28
1 files changed, 12 insertions, 16 deletions
diff --git a/tests/writer.latex b/tests/writer.latex
index b6572eb2d..402126a78 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -23,7 +23,6 @@
{\setlength{\labelwidth}{4em}}
}\makeatother
\usepackage{enumerate}
-\usepackage{url}
\usepackage{graphicx}
% We will generate all images so they have a width \maxwidth. This means
% that they will get their normal width if they fit onto the page, but
@@ -37,23 +36,20 @@
\ifxetex
\usepackage[setpagesize=false, % page size defined by xetex
unicode=false, % unicode breaks when used with xetex
- xetex,
- bookmarks=true,
- pdfauthor={John MacFarlane; Anonymous},
- pdftitle={Pandoc Test Suite},
- colorlinks=true,
- urlcolor=blue,
- linkcolor=blue]{hyperref}
+ xetex]{hyperref}
\else
- \usepackage[unicode=true,
- bookmarks=true,
- pdfauthor={John MacFarlane; Anonymous},
- pdftitle={Pandoc Test Suite},
- colorlinks=true,
- urlcolor=blue,
- linkcolor=blue]{hyperref}
+ \usepackage[unicode=true]{hyperref}
\fi
-\hypersetup{breaklinks=true, pdfborder={0 0 0}}
+\hypersetup{breaklinks=true,
+ bookmarks=true,
+ pdfauthor={John MacFarlane; Anonymous},
+ pdftitle={Pandoc Test Suite},
+ colorlinks=true,
+ urlcolor=blue,
+ linkcolor=black,
+ pdfborder={0 0 0}}
+% Uncomment next line if you want links as footnotes instead of hotlinks:
+% \renewcommand{\href}[2]{#2\footnote{\url{#1}}}
\usepackage[normalem]{ulem}
% avoid problems with \sout in headers with hyperref:
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}