aboutsummaryrefslogtreecommitdiff
path: root/test/writers-lang-and-dir.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-04-11 16:53:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-04-11 16:58:36 -0700
commit6d19c08e9f5bae0547ca98b853fd59921a391623 (patch)
treea61a2927262b04f0b83bfd006c32f2a1531a1e47 /test/writers-lang-and-dir.latex
parent8f010440628e7269c243b4f3dbb4b101b759986f (diff)
downloadpandoc-6d19c08e9f5bae0547ca98b853fd59921a391623.tar.gz
LaTeX template: Add pdflang to hypersetup if lang is set.
Closes #5443.
Diffstat (limited to 'test/writers-lang-and-dir.latex')
-rw-r--r--test/writers-lang-and-dir.latex1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index 8899ab6c6..02ff8b451 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -37,6 +37,7 @@
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{
+ pdflang={en},
hidelinks,
pdfcreator={LaTeX via pandoc}}
\urlstyle{same} % disable monospaced font for URLs