From 6d19c08e9f5bae0547ca98b853fd59921a391623 Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Thu, 11 Apr 2019 16:53:00 -0700 Subject: LaTeX template: Add pdflang to hypersetup if lang is set. Closes #5443. --- test/writers-lang-and-dir.latex | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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 -- cgit v1.2.3