aboutsummaryrefslogtreecommitdiff
path: root/tests/lhs-test.latex
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lhs-test.latex')
-rw-r--r--tests/lhs-test.latex9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex
index 647f16396..a3acd98da 100644
--- a/tests/lhs-test.latex
+++ b/tests/lhs-test.latex
@@ -13,7 +13,14 @@
\usepackage[utf8x]{inputenc}
\fi
\fi
-\usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{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
+\hypersetup{breaklinks=true, pdfborder={0 0 0}}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\setlength{\emergencystretch}{3em} % prevent overfull lines