From c21db81efd35b11f5237637a0ec29bde6f6da250 Mon Sep 17 00:00:00 2001 From: Andrew Dunning <adunning@users.noreply.github.com> Date: Tue, 26 Mar 2019 00:36:14 -0400 Subject: [PATCH] LaTeX template: Add pandoc to PDF metadata (#5388) Credits pandoc in content creator metadata (the default is 'LaTeX with hyperref'). --- data/templates/default.latex | 2 +- test/lhs-test.latex | 2 +- test/lhs-test.latex+lhs | 2 +- test/writer.latex | 2 +- test/writers-lang-and-dir.latex | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/templates/default.latex b/data/templates/default.latex index 11726c0e3..25fc26107 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -220,7 +220,7 @@ $if(colorlinks)$ $else$ hidelinks, $endif$ -} + pdfcreator={LaTeX via pandoc}} \urlstyle{same} % disable monospaced font for URLs $if(verbatim-in-note)$ \VerbatimFootnotes % allows verbatim text in footnotes diff --git a/test/lhs-test.latex b/test/lhs-test.latex index fe3020054..fd8b13973 100644 --- a/test/lhs-test.latex +++ b/test/lhs-test.latex @@ -37,7 +37,7 @@ \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} \hypersetup{ hidelinks, -} + pdfcreator={LaTeX via pandoc}} \urlstyle{same} % disable monospaced font for URLs \usepackage{color} \usepackage{fancyvrb} diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index 7f0eaf32c..3b5a7d330 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -37,7 +37,7 @@ \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} \hypersetup{ hidelinks, -} + pdfcreator={LaTeX via pandoc}} \urlstyle{same} % disable monospaced font for URLs \usepackage{listings} \newcommand{\passthrough}[1]{#1} diff --git a/test/writer.latex b/test/writer.latex index 6db1aa90e..079434e3e 100644 --- a/test/writer.latex +++ b/test/writer.latex @@ -40,7 +40,7 @@ pdftitle={Pandoc Test Suite}, pdfauthor={John MacFarlane; Anonymous}, hidelinks, -} + pdfcreator={LaTeX via pandoc}} \urlstyle{same} % disable monospaced font for URLs \VerbatimFootnotes % allows verbatim text in footnotes \usepackage{graphicx,grffile} diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex index c765f358a..d1696bb48 100644 --- a/test/writers-lang-and-dir.latex +++ b/test/writers-lang-and-dir.latex @@ -38,7 +38,7 @@ \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} \hypersetup{ hidelinks, -} + pdfcreator={LaTeX via pandoc}} \urlstyle{same} % disable monospaced font for URLs \setlength{\emergencystretch}{3em} % prevent overfull lines \providecommand{\tightlist}{%