git.iko.soy/typeable/pandoc
on master help sign in
Updated test suite.
commit9ab5b00221530de54805cf2a95d773ed51c6d8d1 authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 3 Jun 2012, 11:08 (14 years ago) parentc8c09cc
3 files changed+36−46
tests/lhs-test.latex+12−15 tests/lhs-test.latex+lhs+12−15 tests/writer.latex+12−16
tests/lhs-test.latex+12−15
@@ -38,23 +38,20 @@
3838\ifxetex
3939 \usepackage[setpagesize=false, % page size defined by xetex
4040 unicode=false, % unicode breaks when used with xetex
41− xetex,
42− bookmarks=true,
43− pdfauthor={},
44− pdftitle={},
45− colorlinks=true,
46− urlcolor=blue,
47− linkcolor=blue]{hyperref}
41+ xetex]{hyperref}
4842\else
49− \usepackage[unicode=true,
50− bookmarks=true,
51− pdfauthor={},
52− pdftitle={},
53− colorlinks=true,
54− urlcolor=blue,
55− linkcolor=blue]{hyperref}
43+ \usepackage[unicode=true]{hyperref}
5644\fi
57−\hypersetup{breaklinks=true, pdfborder={0 0 0}}
45+\hypersetup{breaklinks=true,
46+ bookmarks=true,
47+ pdfauthor={},
48+ pdftitle={},
49+ colorlinks=true,
50+ urlcolor=blue,
51+ linkcolor=black,
52+ pdfborder={0 0 0}}
53+% Uncomment next line if you want links as footnotes instead of hotlinks:
54+% \renewcommand{\href}[2]{#2\footnote{\url{#1}}}
5855\setlength{\parindent}{0pt}
5956\setlength{\parskip}{6pt plus 2pt minus 1pt}
6057\setlength{\emergencystretch}{3em} % prevent overfull lines
tests/lhs-test.latex+lhs+12−15
@@ -20,23 +20,20 @@
2020\ifxetex
2121 \usepackage[setpagesize=false, % page size defined by xetex
2222 unicode=false, % unicode breaks when used with xetex
23− xetex,
24− bookmarks=true,
25− pdfauthor={},
26− pdftitle={},
27− colorlinks=true,
28− urlcolor=blue,
29− linkcolor=blue]{hyperref}
23+ xetex]{hyperref}
3024\else
31− \usepackage[unicode=true,
32− bookmarks=true,
33− pdfauthor={},
34− pdftitle={},
35− colorlinks=true,
36− urlcolor=blue,
37− linkcolor=blue]{hyperref}
25+ \usepackage[unicode=true]{hyperref}
3826\fi
39−\hypersetup{breaklinks=true, pdfborder={0 0 0}}
27+\hypersetup{breaklinks=true,
28+ bookmarks=true,
29+ pdfauthor={},
30+ pdftitle={},
31+ colorlinks=true,
32+ urlcolor=blue,
33+ linkcolor=black,
34+ pdfborder={0 0 0}}
35+% Uncomment next line if you want links as footnotes instead of hotlinks:
36+% \renewcommand{\href}[2]{#2\footnote{\url{#1}}}
4037\setlength{\parindent}{0pt}
4138\setlength{\parskip}{6pt plus 2pt minus 1pt}
4239\setlength{\emergencystretch}{3em} % prevent overfull lines
tests/writer.latex+12−16
@@ -23,7 +23,6 @@
2323 {\setlength{\labelwidth}{4em}}
2424}\makeatother
2525\usepackage{enumerate}
26−\usepackage{url}
2726\usepackage{graphicx}
2827% We will generate all images so they have a width \maxwidth. This means
2928% that they will get their normal width if they fit onto the page, but
@@ -37,23 +36,20 @@
3736\ifxetex
3837 \usepackage[setpagesize=false, % page size defined by xetex
3938 unicode=false, % unicode breaks when used with xetex
40− xetex,
41− bookmarks=true,
42− pdfauthor={John MacFarlane; Anonymous},
43− pdftitle={Pandoc Test Suite},
44− colorlinks=true,
45− urlcolor=blue,
46− linkcolor=blue]{hyperref}
39+ xetex]{hyperref}
4740\else
48− \usepackage[unicode=true,
49− bookmarks=true,
50− pdfauthor={John MacFarlane; Anonymous},
51− pdftitle={Pandoc Test Suite},
52− colorlinks=true,
53− urlcolor=blue,
54− linkcolor=blue]{hyperref}
41+ \usepackage[unicode=true]{hyperref}
5542\fi
56−\hypersetup{breaklinks=true, pdfborder={0 0 0}}
43+\hypersetup{breaklinks=true,
44+ bookmarks=true,
45+ pdfauthor={John MacFarlane; Anonymous},
46+ pdftitle={Pandoc Test Suite},
47+ colorlinks=true,
48+ urlcolor=blue,
49+ linkcolor=black,
50+ pdfborder={0 0 0}}
51+% Uncomment next line if you want links as footnotes instead of hotlinks:
52+% \renewcommand{\href}[2]{#2\footnote{\url{#1}}}
5753\usepackage[normalem]{ulem}
5854% avoid problems with \sout in headers with hyperref:
5955\pdfstringdefDisableCommands{\renewcommand{\sout}{}}