summaryrefslogtreecommitdiff
path: root/tests/writers-lang-and-dir.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-07 10:08:49 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-07 10:11:48 -0700
commit4136ec0f4ae30d2b2a41260d3af3c894c79fe705 (patch)
treeb179a356bd28a5b9d56f35c352e1d9550c34259d /tests/writers-lang-and-dir.latex
parenta184aec7076eedf01deea08a2ec64c5340d00e9c (diff)
latex template: fix for obscure hyperref/xelatex issue.
Here's a minimal case: \documentclass[]{article} \usepackage{hyperref} \begin{document} \section{\%á} \end{document} Without this change, this fails on the second invocation of xelatex. See https://tex.stackexchange.com/questions/313266/and-non-ascii-characters-in-headings This affects inputs this like # %á with pdf output via xelatex.
Diffstat (limited to 'tests/writers-lang-and-dir.latex')
-rw-r--r--tests/writers-lang-and-dir.latex4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/writers-lang-and-dir.latex b/tests/writers-lang-and-dir.latex
index 346675353..badb0eb82 100644
--- a/tests/writers-lang-and-dir.latex
+++ b/tests/writers-lang-and-dir.latex
@@ -21,8 +21,8 @@
\usepackage{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
-\usepackage{hyperref}
-\hypersetup{unicode=true,
+\usepackage[unicode=true]{hyperref}
+\hypersetup{
pdfborder={0 0 0},
breaklinks=true}
\urlstyle{same} % don't use monospace font for urls