From 7bc4dc37b26fe849f2df525c32f7149c10920480 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 25 Mar 2012 12:09:59 -0700 Subject: Added PDF metadata (title,author) in LaTeX standalone + PDF output. Closes #459. --- tests/lhs-test.latex | 6 ++++++ tests/lhs-test.latex+lhs | 6 ++++++ tests/writer.latex | 6 ++++++ 3 files changed, 18 insertions(+) (limited to 'tests') diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex index 2f178a67e..7fca818bd 100644 --- a/tests/lhs-test.latex +++ b/tests/lhs-test.latex @@ -39,10 +39,16 @@ \usepackage[setpagesize=false, % page size defined by xetex unicode=false, % unicode breaks when used with xetex xetex, + bookmarks=true, + pdfauthor={}, + pdftitle={}, colorlinks=true, linkcolor=blue]{hyperref} \else \usepackage[unicode=true, + bookmarks=true, + pdfauthor={}, + pdftitle={}, colorlinks=true, linkcolor=blue]{hyperref} \fi diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index fc0d7adca..76ee4d7ce 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -21,10 +21,16 @@ \usepackage[setpagesize=false, % page size defined by xetex unicode=false, % unicode breaks when used with xetex xetex, + bookmarks=true, + pdfauthor={}, + pdftitle={}, colorlinks=true, linkcolor=blue]{hyperref} \else \usepackage[unicode=true, + bookmarks=true, + pdfauthor={}, + pdftitle={}, colorlinks=true, linkcolor=blue]{hyperref} \fi diff --git a/tests/writer.latex b/tests/writer.latex index ba2a40e65..c56611047 100644 --- a/tests/writer.latex +++ b/tests/writer.latex @@ -38,10 +38,16 @@ \usepackage[setpagesize=false, % page size defined by xetex unicode=false, % unicode breaks when used with xetex xetex, + bookmarks=true, + pdfauthor={John MacFarlane; Anonymous}, + pdftitle={Pandoc Test Suite}, colorlinks=true, linkcolor=blue]{hyperref} \else \usepackage[unicode=true, + bookmarks=true, + pdfauthor={John MacFarlane; Anonymous}, + pdftitle={Pandoc Test Suite}, colorlinks=true, linkcolor=blue]{hyperref} \fi -- cgit v1.2.3