diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-12-11 22:09:39 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-12-11 22:09:39 -0800 |
commit | 3bb84f4a2f50ff5276048a9d0a4f3d90791f7a2a (patch) | |
tree | e80506c38c6ae3d8aaf21a4205deaf5e13397994 | |
parent | 8ece4d6de88408e8464ed245723cfda258b4fdc9 (diff) | |
download | pandoc-templates-3bb84f4a2f50ff5276048a9d0a4f3d90791f7a2a.tar.gz pandoc-templates-3bb84f4a2f50ff5276048a9d0a4f3d90791f7a2a.zip |
Updated templates for pandoc 2.9
-rw-r--r-- | default.context | 8 | ||||
-rw-r--r-- | default.revealjs | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/default.context b/default.context index b8886d9..5e67eaa 100644 --- a/default.context +++ b/default.context | |||
@@ -133,18 +133,18 @@ $endfor$ | |||
133 | \starttext | 133 | \starttext |
134 | $if(title)$ | 134 | $if(title)$ |
135 | \startalignment[middle] | 135 | \startalignment[middle] |
136 | {\tfd $title$} | 136 | {\tfd\setupinterlinespace $title$} |
137 | $if(subtitle)$ | 137 | $if(subtitle)$ |
138 | \smallskip | 138 | \smallskip |
139 | {\tfa $subtitle$} | 139 | {\tfa\setupinterlinespace $subtitle$} |
140 | $endif$ | 140 | $endif$ |
141 | $if(author)$ | 141 | $if(author)$ |
142 | \smallskip | 142 | \smallskip |
143 | {\tfa $for(author)$$author$$sep$\crlf $endfor$} | 143 | {\tfa\setupinterlinespace $for(author)$$author$$sep$\crlf $endfor$} |
144 | $endif$ | 144 | $endif$ |
145 | $if(date)$ | 145 | $if(date)$ |
146 | \smallskip | 146 | \smallskip |
147 | {\tfa $date$} | 147 | {\tfa\setupinterlinespace $date$} |
148 | $endif$ | 148 | $endif$ |
149 | \bigskip | 149 | \bigskip |
150 | \stopalignment | 150 | \stopalignment |
diff --git a/default.revealjs b/default.revealjs index f63fc14..4d2710f 100644 --- a/default.revealjs +++ b/default.revealjs | |||
@@ -55,7 +55,7 @@ $endfor$ | |||
55 | <div class="slides"> | 55 | <div class="slides"> |
56 | 56 | ||
57 | $if(title)$ | 57 | $if(title)$ |
58 | <section id="$idprefix$title-slide"> | 58 | <section id="$idprefix$title-slide"$for(title-slide-attributes/pairs)$ $it.key$="$it.value$"$endfor$> |
59 | <h1 class="title">$title$</h1> | 59 | <h1 class="title">$title$</h1> |
60 | $if(subtitle)$ | 60 | $if(subtitle)$ |
61 | <p class="subtitle">$subtitle$</p> | 61 | <p class="subtitle">$subtitle$</p> |