diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-04-11 16:53:00 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-04-11 16:58:36 -0700 |
commit | 6d19c08e9f5bae0547ca98b853fd59921a391623 (patch) | |
tree | a61a2927262b04f0b83bfd006c32f2a1531a1e47 /test | |
parent | 8f010440628e7269c243b4f3dbb4b101b759986f (diff) | |
download | pandoc-6d19c08e9f5bae0547ca98b853fd59921a391623.tar.gz |
LaTeX template: Add pdflang to hypersetup if lang is set.
Closes #5443.
Diffstat (limited to 'test')
-rw-r--r-- | test/writers-lang-and-dir.latex | 1 |
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 |