aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-01-02 21:05:10 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-01-02 21:05:10 +0000
commita5110bec7b4cd0c5fc22d0cb25655fc9f919a4aa (patch)
treea7159dcae2cf9ff6b7a3cccfbe0938ee438b4b5c /templates
parent945ae2b25294713204e53ac5bbc2ae8612cd1d58 (diff)
downloadpandoc-a5110bec7b4cd0c5fc22d0cb25655fc9f919a4aa.tar.gz
Latex template: only show \author if there are some...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1789 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates')
-rw-r--r--templates/latex.template2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/latex.template b/templates/latex.template
index cc9731bcf..30ecf8a3e 100644
--- a/templates/latex.template
+++ b/templates/latex.template
@@ -64,7 +64,9 @@ $endfor$
$if(title)$
\title{$title$}
$endif$
+$if(author)$
\author{$for(author)$$author$$sep$\\$endfor$}
+$endif$
$if(date)$
\date{$date$}
$endif$