aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-05-06 09:48:18 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-05-06 09:48:59 -0700
commitfc5229df167aa61cdbcf14ce24581b36bb0a5b90 (patch)
tree3cbfbbbf2501b2ae885c516edd3f5de2aae38347
parent5de411030bfcf0b369d10ff084caaad8b37ccfd6 (diff)
downloadpandoc-fc5229df167aa61cdbcf14ce24581b36bb0a5b90.tar.gz
latex template: conditionalize author and date.
Thanks to ivoanjo for the patch. Closes #61.
-rw-r--r--default.latex4
1 files changed, 4 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index 5cfd7620c..0364eea45 100644
--- a/default.latex
+++ b/default.latex
@@ -126,8 +126,12 @@ $endif$
$if(subtitle)$
\subtitle{$subtitle$}
$endif$
+$if(author)$
\author{$for(author)$$author$$sep$ \and $endfor$}
+$endif$
+$if(date)$
\date{$date$}
+$endif$
$for(header-includes)$
$header-includes$
$endfor$