diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:16:00 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:16:00 +0000 |
commit | dd210437f6abab19512c387ac73af1e3e44aa5ae (patch) | |
tree | 4517ecd92ca5503906a22b921f37201e8508f94e /templates | |
parent | fbef848a3af236ca3a18e6aad7c459e93b8495fc (diff) | |
download | pandoc-dd210437f6abab19512c387ac73af1e3e44aa5ae.tar.gz |
Use $for$ for multiple authors in context, latex, markdown.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1723 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates')
-rw-r--r-- | templates/context.template | 4 | ||||
-rw-r--r-- | templates/latex.template | 4 | ||||
-rw-r--r-- | templates/markdown.template | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/templates/context.template b/templates/context.template index 6b9c04a7e..3981d1c51 100644 --- a/templates/context.template +++ b/templates/context.template @@ -78,9 +78,7 @@ $endfor$ $if(title)$ \doctitle{$title$} $endif$ -$if(authors)$ -\author{$authors$} -$endif$ +\author{$for(author)$$author$$sep$\\$endfor$} $if(date)$ \date{$date$} $endif$ diff --git a/templates/latex.template b/templates/latex.template index 407348b52..80f34857d 100644 --- a/templates/latex.template +++ b/templates/latex.template @@ -38,9 +38,7 @@ $endfor$ $if(title)$ \title{$title$} $endif$ -$if(authors)$ -\author{$authors$} -$endif$ +\author{$for(author)$$author$$sep$\\$endfor$} $if(date)$ \date{$date$} $endif$ diff --git a/templates/markdown.template b/templates/markdown.template index 70f1b59b0..6124462ba 100644 --- a/templates/markdown.template +++ b/templates/markdown.template @@ -1,6 +1,6 @@ $if(titleblock)$ % $title$ -% $authors$ +% $for(author)$$author$$sep$; $endfor$ % $date$ $endif$ |