diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-01-02 21:05:10 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-01-02 21:05:10 +0000 |
commit | a5110bec7b4cd0c5fc22d0cb25655fc9f919a4aa (patch) | |
tree | a7159dcae2cf9ff6b7a3cccfbe0938ee438b4b5c | |
parent | 945ae2b25294713204e53ac5bbc2ae8612cd1d58 (diff) | |
download | pandoc-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
-rw-r--r-- | templates/latex.template | 2 | ||||
-rw-r--r-- | tests/lhs-test.latex | 1 | ||||
-rw-r--r-- | tests/lhs-test.latex+lhs | 1 |
3 files changed, 2 insertions, 2 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$ diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex index 2c4dd6e0f..c3ef9bcf5 100644 --- a/tests/lhs-test.latex +++ b/tests/lhs-test.latex @@ -6,7 +6,6 @@ \setlength{\parskip}{6pt plus 2pt minus 1pt} \setcounter{secnumdepth}{0} -\author{} \begin{document} diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index 685e41bf1..2f1403d6d 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -8,7 +8,6 @@ \setlength{\parskip}{6pt plus 2pt minus 1pt} \setcounter{secnumdepth}{0} -\author{} \begin{document} |