diff options
-rw-r--r-- | data/templates/default.latex | 3 | ||||
-rw-r--r-- | test/writers-lang-and-dir.latex | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index 336aeb367..edbf95fc4 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -205,6 +205,9 @@ $endif$ $if(author-meta)$ pdfauthor={$author-meta$}, $endif$ +$if(lang)$ + pdflang={$lang$}, +$endif$ $if(subject)$ pdfsubject={$subject$}, $endif$ 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 |