From db59a5e77b0a5629f0801eb82103814842f2e2ed Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 11 Jun 2019 22:50:06 -0700 Subject: Updated templates for pandoc 2.7.3 --- default.epub2 | 9 --------- default.epub3 | 11 +---------- default.jats | 20 ++++++-------------- default.jira | 9 +++++++++ default.latex | 7 +++++++ default.revealjs | 2 +- 6 files changed, 24 insertions(+), 34 deletions(-) create mode 100644 default.jira diff --git a/default.epub2 b/default.epub2 index cca9fcf..afcf96a 100644 --- a/default.epub2 +++ b/default.epub2 @@ -6,15 +6,6 @@ $pagetitle$ - $if(highlighting-css)$ $if(highlighting-css)$ $endif$ $for(css)$ - + $endfor$ $for(header-includes)$ $header-includes$ diff --git a/default.jats b/default.jats index 228a063..5fd3590 100644 --- a/default.jats +++ b/default.jats @@ -83,14 +83,14 @@ $for(author)$ $if(author.orcid)$ $author.orcid$ $endif$ - $if(author.surname)$ + $author.surname$ $author.given-names$ + $else$ $author$ $endif$ - $if(author.email)$ $author.email$ $endif$ @@ -120,22 +120,14 @@ $endif$ $endif$ $if(date)$ -$if(date.iso-8601)$ - -$else$ - -$endif$ + $if(date.day)$ -$pub-date.day$ +$date.day$ $endif$ $if(date.month)$ -$pub-date.month$ -$endif$ -$if(date.year)$ -$pub-date.year$ -$else$ -$date$ +$date.month$ $endif$ +$date.year$ $endif$ $if(article.volume)$ diff --git a/default.jira b/default.jira new file mode 100644 index 0000000..69bd05b --- /dev/null +++ b/default.jira @@ -0,0 +1,9 @@ +$for(include-before)$ +$include-before$ + +$endfor$ +$body$ +$for(include-after)$ + +$include-after$ +$endfor$ diff --git a/default.latex b/default.latex index 336aeb3..4e8911e 100644 --- a/default.latex +++ b/default.latex @@ -205,6 +205,9 @@ $endif$ $if(author-meta)$ pdfauthor={$author-meta$}, $endif$ +$if(lang)$ + pdflang={$lang$}, +$endif$ $if(subject)$ pdfsubject={$subject$}, $endif$ @@ -226,8 +229,12 @@ $if(verbatim-in-note)$ \VerbatimFootnotes % allow verbatim text in footnotes $endif$ $if(geometry)$ +$if(beamer)$ +\geometry{$for(geometry)$$geometry$$sep$,$endfor$} +$else$ \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} $endif$ +$endif$ $if(beamer)$ \newif\ifbibliography $endif$ diff --git a/default.revealjs b/default.revealjs index 9469291..b8bbbb0 100644 --- a/default.revealjs +++ b/default.revealjs @@ -16,6 +16,7 @@ $endif$ +