diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-06-07 10:08:49 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-06-07 10:11:48 -0700 |
commit | 4136ec0f4ae30d2b2a41260d3af3c894c79fe705 (patch) | |
tree | b179a356bd28a5b9d56f35c352e1d9550c34259d /tests/lhs-test.latex+lhs | |
parent | a184aec7076eedf01deea08a2ec64c5340d00e9c (diff) | |
download | pandoc-4136ec0f4ae30d2b2a41260d3af3c894c79fe705.tar.gz |
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/lhs-test.latex+lhs')
-rw-r--r-- | tests/lhs-test.latex+lhs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index 8ab9a2ef0..b6db76e6f 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -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 |