summaryrefslogtreecommitdiff
path: root/tests
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
parentc8c09cc403dc1336b5d7582059bf44c34e34cdd5 (diff)
Updated test suite.
Diffstat (limited to 'tests')
-rw-r--r--tests/lhs-test.latex27
-rw-r--r--tests/lhs-test.latex+lhs27
-rw-r--r--tests/writer.latex28
3 files changed, 36 insertions, 46 deletions
diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex
index 0b83f9c0a..30475bdba 100644
--- a/tests/lhs-test.latex
+++ b/tests/lhs-test.latex
@@ -38,23 +38,20 @@
\ifxetex
\usepackage[setpagesize=false, % page size defined by xetex
unicode=false, % unicode breaks when used with xetex
- xetex,
- bookmarks=true,
- pdfauthor={},
- pdftitle={},
- colorlinks=true,
- urlcolor=blue,
- linkcolor=blue]{hyperref}
+ xetex]{hyperref}
\else
- \usepackage[unicode=true,
- bookmarks=true,
- pdfauthor={},
- pdftitle={},
- 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={},
+ pdftitle={},
+ 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}}}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\setlength{\emergencystretch}{3em} % prevent overfull lines
diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs
index 05cd4dc14..e372ed359 100644
--- a/tests/lhs-test.latex+lhs
+++ b/tests/lhs-test.latex+lhs
@@ -20,23 +20,20 @@
\ifxetex
\usepackage[setpagesize=false, % page size defined by xetex
unicode=false, % unicode breaks when used with xetex
- xetex,
- bookmarks=true,
- pdfauthor={},
- pdftitle={},
- colorlinks=true,
- urlcolor=blue,
- linkcolor=blue]{hyperref}
+ xetex]{hyperref}
\else
- \usepackage[unicode=true,
- bookmarks=true,
- pdfauthor={},
- pdftitle={},
- 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={},
+ pdftitle={},
+ 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}}}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\setlength{\emergencystretch}{3em} % prevent overfull lines
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}{}}