@@ -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}{}}