diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-03-25 12:09:59 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-03-25 12:10:43 -0700 |
commit | 7bc4dc37b26fe849f2df525c32f7149c10920480 (patch) | |
tree | d77c95ad7ee9861869dff134eeb3d22f1dc7b31c /src/Text | |
parent | a2e5de1d1180c196f6b4bdfdfcadc80911e2b7c6 (diff) | |
download | pandoc-7bc4dc37b26fe849f2df525c32f7149c10920480.tar.gz |
Added PDF metadata (title,author) in LaTeX standalone + PDF output.
Closes #459.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 0a6f8669c..9536a3c87 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -134,6 +134,8 @@ pandocToLaTeX options (Pandoc (Meta title authors date) blocks) = do [ ("toc", if writerTableOfContents options then "yes" else "") , ("body", main) , ("title", titletext) + , ("title-meta", stringify title) + , ("author-meta", intercalate "; " $ map stringify authors) , ("date", dateText) , ("documentclass", if writerBeamer options then "beamer" |