aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-12-01 19:01:24 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-12-01 19:01:53 -0800
commit9ebdb944b6dd4acbca16129ec244f1795ac88316 (patch)
treee970bfb2e6a7346594c750aeb23c32dd57575784 /default.latex
parent9fd00ca239d07c49cad88ca242729c4d40baf2be (diff)
downloadpandoc-9ebdb944b6dd4acbca16129ec244f1795ac88316.tar.gz
LaTeX: Use \date{} if no date in metadata.
Thanks to Daron Wilson for the suggestion.
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex2
1 files changed, 2 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index da96e6ab2..5f509968d 100644
--- a/default.latex
+++ b/default.latex
@@ -101,6 +101,8 @@ $if(author)$
$endif$
$if(date)$
\date{$date$}
+$else$
+\date{}
$endif$
\begin{document}