From 70a4509a85149edb486789d0676f2358850b09ca Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 29 Jun 2020 21:55:23 -0700 Subject: Updated templates for pandoc 2.10 --- README.md | 4 +- default.latex | 4 +- default.opendocument | 6 +++ default.revealjs | 135 ++++++++++++++++++++++++++++++++++++++++----------- 4 files changed, 117 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 4c3869e..2c76e0b 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ library. It can convert *from* notebook](https://nbformat.readthedocs.io/en/latest/)) - `jats` ([JATS](https://jats.nlm.nih.gov) XML) - `jira` - ([Jira](https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all) + ([Jira](https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all)/Confluence wiki markup) - `json` (JSON version of native AST) - `latex` ([LaTeX](https://www.latex-project.org/)) @@ -124,7 +124,7 @@ It can convert *to* Publishing Tag Set) - `jats` (alias for `jats_archiving`) - `jira` - ([Jira](https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all) + ([Jira](https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all)/Confluence wiki markup) - `json` (JSON version of native AST) - `latex` ([LaTeX](https://www.latex-project.org/)) diff --git a/default.latex b/default.latex index 4ceca43..92ab9fe 100644 --- a/default.latex +++ b/default.latex @@ -328,9 +328,9 @@ $if(lang)$ \ifxetex % Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic) \usepackage{polyglossia} - \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$} + \setmainlanguage[$for(polyglossia-lang.options)$$polyglossia-lang.options$$sep$,$endfor$]{$polyglossia-lang.name$} $for(polyglossia-otherlangs)$ - \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$} + \setotherlanguage[$for(polyglossia-otherlangs.options)$$polyglossia-otherlangs.options$$sep$,$endfor$]{$polyglossia-otherlangs.name$} $endfor$ \else \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel} diff --git a/default.opendocument b/default.opendocument index cc7d330..e34c8d5 100644 --- a/default.opendocument +++ b/default.opendocument @@ -14,12 +14,18 @@ $endfor$ $if(title)$ $title$ $endif$ +$if(subtitle)$ +$subtitle$ +$endif$ $for(author)$ $author$ $endfor$ $if(date)$ $date$ $endif$ +$if(abstract)$ +$abstract$ +$endif$ $for(include-before)$ $include-before$ $endfor$ diff --git a/default.revealjs b/default.revealjs index 4d2710f..4f5b110 100644 --- a/default.revealjs +++ b/default.revealjs @@ -16,30 +16,19 @@ $endif$ - - + + $if(theme)$ - + $else$ - + $endif$ $for(css)$ $endfor$ - - - $if(math)$ $math$ $endif$ @@ -78,17 +67,39 @@ $body$ - + + + // reveal.js plugins + + + +$if(mathjax)$ + +$endif$ -- cgit v1.2.3