From 652b60f141e9498c8f0568e4d841153d4a1006f5 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 20 Oct 2015 15:22:52 -0700 Subject: Updated tests for latex/context template changes. --- tests/lhs-test.latex+lhs | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) (limited to 'tests/lhs-test.latex+lhs') diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index 21219e99a..b025da64b 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -22,32 +22,14 @@ \usepackage{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} -\makeatletter -\@ifpackageloaded{hyperref}{}{% -\ifxetex - \usepackage[setpagesize=false, % page size defined by xetex - unicode=false, % unicode breaks when used with xetex - xetex]{hyperref} -\else - \usepackage[unicode=true]{hyperref} -\fi -} -\@ifpackageloaded{color}{ - \PassOptionsToPackage{usenames,dvipsnames}{color} -}{% - \usepackage[usenames,dvipsnames]{color} -} -\makeatother +\usepackage{hyperref} +\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref \hypersetup{breaklinks=true, - bookmarks=true, - pdfauthor={}, - pdftitle={}, - colorlinks=true, - citecolor=blue, - urlcolor=blue, - linkcolor=magenta, - pdfborder={0 0 0} - } + unicode=true, colorlinks=true, + citecolor=black, + urlcolor=black, + linkcolor=black, + pdfborder={0 0 0}} \urlstyle{same} % don't use monospace font for urls \usepackage{listings} \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} -- cgit v1.2.3