diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-11-22 09:20:16 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-11-22 09:20:16 -0800 |
commit | a2d9d54ae9fa5b1fa7d36d94b7375f522adff7c3 (patch) | |
tree | beffa4c88f32b4d159c3a26b4070f00c097b15e5 | |
parent | db59a5e77b0a5629f0801eb82103814842f2e2ed (diff) | |
download | pandoc-templates-a2d9d54ae9fa5b1fa7d36d94b7375f522adff7c3.tar.gz pandoc-templates-a2d9d54ae9fa5b1fa7d36d94b7375f522adff7c3.zip |
Updated templates for pandoc 2.8
-rw-r--r-- | default.context | 32 | ||||
-rw-r--r-- | default.docbook4 | 6 | ||||
-rw-r--r-- | default.docbook5 | 6 | ||||
-rw-r--r-- | default.dzslides | 13 | ||||
-rw-r--r-- | default.epub2 | 8 | ||||
-rw-r--r-- | default.epub3 | 8 | ||||
-rw-r--r-- | default.html4 | 13 | ||||
-rw-r--r-- | default.html5 | 13 | ||||
-rw-r--r-- | default.icml | 4 | ||||
-rw-r--r-- | default.jats | 11 | ||||
-rw-r--r-- | default.latex | 12 | ||||
-rw-r--r-- | default.man | 2 | ||||
-rw-r--r-- | default.ms | 11 | ||||
-rw-r--r-- | default.muse | 2 | ||||
-rw-r--r-- | default.revealjs | 17 | ||||
-rw-r--r-- | default.s5 | 13 | ||||
-rw-r--r-- | default.slideous | 13 | ||||
-rw-r--r-- | default.slidy | 13 |
18 files changed, 90 insertions, 107 deletions
diff --git a/default.context b/default.context index 8792693..1ad5779 100644 --- a/default.context +++ b/default.context | |||
@@ -27,7 +27,6 @@ $endif$ | |||
27 | % make chapter, section bookmarks visible when opening document | 27 | % make chapter, section bookmarks visible when opening document |
28 | \placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section] | 28 | \placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section] |
29 | \setupinteractionscreen[option=bookmark] | 29 | \setupinteractionscreen[option=bookmark] |
30 | \setuptagging[state=start] | ||
31 | 30 | ||
32 | $if(papersize)$ | 31 | $if(papersize)$ |
33 | \setuppapersize[$for(papersize)$$papersize$$sep$,$endfor$] | 32 | \setuppapersize[$for(papersize)$$papersize$$sep$,$endfor$] |
@@ -37,14 +36,18 @@ $if(layout)$ | |||
37 | $endif$ | 36 | $endif$ |
38 | $if(pagenumbering)$ | 37 | $if(pagenumbering)$ |
39 | \setuppagenumbering[$for(pagenumbering)$$pagenumbering$$sep$,$endfor$] | 38 | \setuppagenumbering[$for(pagenumbering)$$pagenumbering$$sep$,$endfor$] |
39 | $else$ | ||
40 | \setuppagenumbering[location={footer,middle}] | ||
40 | $endif$ | 41 | $endif$ |
41 | $if(pdfa)$ | 42 | $if(pdfa)$ |
42 | % attempt to generate PDF/A | 43 | % attempt to generate PDF/A |
43 | \setupbackend | 44 | \setupbackend |
44 | [format=PDF/A-1b:2005, | 45 | [format=PDF/A-$pdfa$, |
45 | intent=sRGB IEC61966-2.1, | 46 | profile={$if(pdfaiccprofile)$$for(pdfaiccprofile)$$pdfaiccprofile$$sep$,$endfor$$else$sRGB.icc$endif$}, |
46 | profile=sRGB.icc] | 47 | intent=$if(pdfaintent)$$pdfaintent$$else$sRGB IEC61966-2.1$endif$] |
47 | $endif$ | 48 | $endif$ |
49 | \setupbackend[export=yes] | ||
50 | \setupstructure[state=start,method=auto] | ||
48 | 51 | ||
49 | % use microtypography | 52 | % use microtypography |
50 | \definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes] | 53 | \definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes] |
@@ -104,6 +107,27 @@ $endif$ | |||
104 | \setupxtable[body][] | 107 | \setupxtable[body][] |
105 | \setupxtable[foot][bottomframe=on] | 108 | \setupxtable[foot][bottomframe=on] |
106 | 109 | ||
110 | $if(csl-refs)$ | ||
111 | \newdimen\cslhangindent | ||
112 | \cslhangindent=1.5em | ||
113 | \definestartstop [cslreferences] [ | ||
114 | $if(csl-hanging-indent)$ | ||
115 | before={% | ||
116 | \setupnarrower[left=\cslhangindent] | ||
117 | \startnarrower[left]% | ||
118 | \setupindenting[-\leftskip,yes,first]% | ||
119 | %\setuphead[chapter,section][indentnext=yes]% | ||
120 | \indentation% | ||
121 | }, | ||
122 | after=\stopnarrower, | ||
123 | $endif$ | ||
124 | ] | ||
125 | $endif$ | ||
126 | $if(includesource)$ | ||
127 | $for(sourcefile)$ | ||
128 | \attachment[file=$curdir$/$sourcefile$,method=hidden] | ||
129 | $endfor$ | ||
130 | $endif$ | ||
107 | $for(header-includes)$ | 131 | $for(header-includes)$ |
108 | $header-includes$ | 132 | $header-includes$ |
109 | $endfor$ | 133 | $endfor$ |
diff --git a/default.docbook4 b/default.docbook4 index 5313c40..2e7b9fa 100644 --- a/default.docbook4 +++ b/default.docbook4 | |||
@@ -23,10 +23,10 @@ $if(date)$ | |||
23 | $endif$ | 23 | $endif$ |
24 | </articleinfo> | 24 | </articleinfo> |
25 | $for(include-before)$ | 25 | $for(include-before)$ |
26 | $include-before$ | 26 | $include-before$ |
27 | $endfor$ | 27 | $endfor$ |
28 | $body$ | 28 | $body$ |
29 | $for(include-after)$ | 29 | $for(include-after)$ |
30 | $include-after$ | 30 | $include-after$ |
31 | $endfor$ | 31 | $endfor$ |
32 | </article> | 32 | </article> |
diff --git a/default.docbook5 b/default.docbook5 index b2c4079..eec0a53 100644 --- a/default.docbook5 +++ b/default.docbook5 | |||
@@ -28,10 +28,10 @@ $if(date)$ | |||
28 | $endif$ | 28 | $endif$ |
29 | </info> | 29 | </info> |
30 | $for(include-before)$ | 30 | $for(include-before)$ |
31 | $include-before$ | 31 | $include-before$ |
32 | $endfor$ | 32 | $endfor$ |
33 | $body$ | 33 | $body$ |
34 | $for(include-after)$ | 34 | $for(include-after)$ |
35 | $include-after$ | 35 | $include-after$ |
36 | $endfor$ | 36 | $endfor$ |
37 | </article> | 37 | </article> |
diff --git a/default.dzslides b/default.dzslides index 96862a2..11103ab 100644 --- a/default.dzslides +++ b/default.dzslides | |||
@@ -13,19 +13,8 @@ $if(keywords)$ | |||
13 | $endif$ | 13 | $endif$ |
14 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> | 14 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> |
15 | <style> | 15 | <style> |
16 | code{white-space: pre-wrap;} | 16 | $styles.html()$ |
17 | span.smallcaps{font-variant: small-caps;} | ||
18 | span.underline{text-decoration: underline;} | ||
19 | div.column{display: inline-block; vertical-align: top; width: 50%;} | ||
20 | $if(quotes)$ | ||
21 | q { quotes: "“" "”" "‘" "’"; } | ||
22 | $endif$ | ||
23 | </style> | ||
24 | $if(highlighting-css)$ | ||
25 | <style> | ||
26 | $highlighting-css$ | ||
27 | </style> | 17 | </style> |
28 | $endif$ | ||
29 | $if(css)$ | 18 | $if(css)$ |
30 | $for(css)$ | 19 | $for(css)$ |
31 | <link rel="stylesheet" href="$css$"> | 20 | <link rel="stylesheet" href="$css$"> |
diff --git a/default.epub2 b/default.epub2 index afcf96a..f440134 100644 --- a/default.epub2 +++ b/default.epub2 | |||
@@ -46,6 +46,13 @@ $if(rights)$ | |||
46 | <div class="rights">$rights$</div> | 46 | <div class="rights">$rights$</div> |
47 | $endif$ | 47 | $endif$ |
48 | $else$ | 48 | $else$ |
49 | $if(coverpage)$ | ||
50 | <div id="cover-image"> | ||
51 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 $cover-image-width$ $cover-image-height$" preserveAspectRatio="none"> | ||
52 | <image width="$cover-image-width$" height="$cover-image-height$" xlink:href="../media/$cover-image$" /> | ||
53 | </svg> | ||
54 | </div> | ||
55 | $else$ | ||
49 | $for(include-before)$ | 56 | $for(include-before)$ |
50 | $include-before$ | 57 | $include-before$ |
51 | $endfor$ | 58 | $endfor$ |
@@ -54,6 +61,7 @@ $for(include-after)$ | |||
54 | $include-after$ | 61 | $include-after$ |
55 | $endfor$ | 62 | $endfor$ |
56 | $endif$ | 63 | $endif$ |
64 | $endif$ | ||
57 | </body> | 65 | </body> |
58 | </html> | 66 | </html> |
59 | 67 | ||
diff --git a/default.epub3 b/default.epub3 index f0feb14..4f5bd66 100644 --- a/default.epub3 +++ b/default.epub3 | |||
@@ -47,6 +47,13 @@ $if(rights)$ | |||
47 | $endif$ | 47 | $endif$ |
48 | </section> | 48 | </section> |
49 | $else$ | 49 | $else$ |
50 | $if(coverpage)$ | ||
51 | <div id="cover-image"> | ||
52 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 $cover-image-width$ $cover-image-height$" preserveAspectRatio="none"> | ||
53 | <image width="$cover-image-width$" height="$cover-image-height$" xlink:href="../media/$cover-image$" /> | ||
54 | </svg> | ||
55 | </div> | ||
56 | $else$ | ||
50 | $for(include-before)$ | 57 | $for(include-before)$ |
51 | $include-before$ | 58 | $include-before$ |
52 | $endfor$ | 59 | $endfor$ |
@@ -55,6 +62,7 @@ $for(include-after)$ | |||
55 | $include-after$ | 62 | $include-after$ |
56 | $endfor$ | 63 | $endfor$ |
57 | $endif$ | 64 | $endif$ |
65 | $endif$ | ||
58 | </body> | 66 | </body> |
59 | </html> | 67 | </html> |
60 | 68 | ||
diff --git a/default.html4 b/default.html4 index 714b3ff..5f9b43e 100644 --- a/default.html4 +++ b/default.html4 | |||
@@ -15,19 +15,8 @@ $if(keywords)$ | |||
15 | $endif$ | 15 | $endif$ |
16 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> | 16 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> |
17 | <style type="text/css"> | 17 | <style type="text/css"> |
18 | code{white-space: pre-wrap;} | 18 | $styles.html()$ |
19 | span.smallcaps{font-variant: small-caps;} | ||
20 | span.underline{text-decoration: underline;} | ||
21 | div.column{display: inline-block; vertical-align: top; width: 50%;} | ||
22 | $if(quotes)$ | ||
23 | q { quotes: "“" "”" "‘" "’"; } | ||
24 | $endif$ | ||
25 | </style> | ||
26 | $if(highlighting-css)$ | ||
27 | <style type="text/css"> | ||
28 | $highlighting-css$ | ||
29 | </style> | 19 | </style> |
30 | $endif$ | ||
31 | $for(css)$ | 20 | $for(css)$ |
32 | <link rel="stylesheet" href="$css$" type="text/css" /> | 21 | <link rel="stylesheet" href="$css$" type="text/css" /> |
33 | $endfor$ | 22 | $endfor$ |
diff --git a/default.html5 b/default.html5 index 9816fcf..eff6e73 100644 --- a/default.html5 +++ b/default.html5 | |||
@@ -15,19 +15,8 @@ $if(keywords)$ | |||
15 | $endif$ | 15 | $endif$ |
16 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> | 16 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> |
17 | <style> | 17 | <style> |
18 | code{white-space: pre-wrap;} | 18 | $styles.html()$ |
19 | span.smallcaps{font-variant: small-caps;} | ||
20 | span.underline{text-decoration: underline;} | ||
21 | div.column{display: inline-block; vertical-align: top; width: 50%;} | ||
22 | $if(quotes)$ | ||
23 | q { quotes: "“" "”" "‘" "’"; } | ||
24 | $endif$ | ||
25 | </style> | ||
26 | $if(highlighting-css)$ | ||
27 | <style> | ||
28 | $highlighting-css$ | ||
29 | </style> | 19 | </style> |
30 | $endif$ | ||
31 | $for(css)$ | 20 | $for(css)$ |
32 | <link rel="stylesheet" href="$css$" /> | 21 | <link rel="stylesheet" href="$css$" /> |
33 | $endfor$ | 22 | $endfor$ |
diff --git a/default.icml b/default.icml index b93fa87..2c737c8 100644 --- a/default.icml +++ b/default.icml | |||
@@ -4,7 +4,7 @@ | |||
4 | <Document DOMVersion="8.0" Self="pandoc_doc"> | 4 | <Document DOMVersion="8.0" Self="pandoc_doc"> |
5 | <RootCharacterStyleGroup Self="pandoc_character_styles"> | 5 | <RootCharacterStyleGroup Self="pandoc_character_styles"> |
6 | <CharacterStyle Self="$$ID/NormalCharacterStyle" Name="Default" /> | 6 | <CharacterStyle Self="$$ID/NormalCharacterStyle" Name="Default" /> |
7 | $charStyles$ | 7 | $charStyles$ |
8 | </RootCharacterStyleGroup> | 8 | </RootCharacterStyleGroup> |
9 | <RootParagraphStyleGroup Self="pandoc_paragraph_styles"> | 9 | <RootParagraphStyleGroup Self="pandoc_paragraph_styles"> |
10 | <ParagraphStyle Self="$$ID/NormalParagraphStyle" Name="$$ID/NormalParagraphStyle" | 10 | <ParagraphStyle Self="$$ID/NormalParagraphStyle" Name="$$ID/NormalParagraphStyle" |
@@ -20,7 +20,7 @@ | |||
20 | </TabList> | 20 | </TabList> |
21 | </Properties> | 21 | </Properties> |
22 | </ParagraphStyle> | 22 | </ParagraphStyle> |
23 | $parStyles$ | 23 | $parStyles$ |
24 | </RootParagraphStyleGroup> | 24 | </RootParagraphStyleGroup> |
25 | <RootTableStyleGroup Self="pandoc_table_styles"> | 25 | <RootTableStyleGroup Self="pandoc_table_styles"> |
26 | <TableStyle Self="TableStyle/Table" Name="Table" /> | 26 | <TableStyle Self="TableStyle/Table" Name="Table" /> |
diff --git a/default.jats b/default.jats index 5fd3590..cdc336b 100644 --- a/default.jats +++ b/default.jats | |||
@@ -2,12 +2,12 @@ | |||
2 | $if(xml-stylesheet)$ | 2 | $if(xml-stylesheet)$ |
3 | <?xml-stylesheet type="text/xsl" href="$xml-stylesheet$"?> | 3 | <?xml-stylesheet type="text/xsl" href="$xml-stylesheet$"?> |
4 | $endif$ | 4 | $endif$ |
5 | <!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.0 20120330//EN" | 5 | <!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" |
6 | "JATS-journalpublishing1.dtd"> | 6 | "JATS-journalpublishing1.dtd"> |
7 | $if(article.type)$ | 7 | $if(article.type)$ |
8 | <article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.0" article-type="$article.type$"> | 8 | <article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.1" article-type="$article.type$"> |
9 | $else$ | 9 | $else$ |
10 | <article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.0" article-type="other"> | 10 | <article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.1" article-type="other"> |
11 | $endif$ | 11 | $endif$ |
12 | <front> | 12 | <front> |
13 | <journal-meta> | 13 | <journal-meta> |
@@ -167,6 +167,11 @@ $if(copyright.text)$ | |||
167 | </permissions> | 167 | </permissions> |
168 | $endif$ | 168 | $endif$ |
169 | $endif$ | 169 | $endif$ |
170 | $if(abstract)$ | ||
171 | <abstract> | ||
172 | $abstract$ | ||
173 | </abstract> | ||
174 | $endif$ | ||
170 | $if(tags)$ | 175 | $if(tags)$ |
171 | <kwd-group kwd-group-type="author"> | 176 | <kwd-group kwd-group-type="author"> |
172 | $for(tags)$ | 177 | $for(tags)$ |
diff --git a/default.latex b/default.latex index 4e8911e..20d5493 100644 --- a/default.latex +++ b/default.latex | |||
@@ -137,7 +137,7 @@ $endif$ | |||
137 | $endif$ | 137 | $endif$ |
138 | $if(CJKmainfont)$ | 138 | $if(CJKmainfont)$ |
139 | \ifxetex | 139 | \ifxetex |
140 | \usepackage{xeCJK} | 140 | \usepackage[space]{xeCJK} |
141 | \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} | 141 | \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} |
142 | \fi | 142 | \fi |
143 | $endif$ | 143 | $endif$ |
@@ -270,7 +270,7 @@ $else$ | |||
270 | $endif$ | 270 | $endif$ |
271 | $endif$ | 271 | $endif$ |
272 | $if(graphics)$ | 272 | $if(graphics)$ |
273 | \usepackage{graphicx,grffile} | 273 | \usepackage{graphicx} |
274 | \makeatletter | 274 | \makeatletter |
275 | \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} | 275 | \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} |
276 | \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} | 276 | \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} |
@@ -359,6 +359,14 @@ $for(bibliography)$ | |||
359 | \addbibresource{$bibliography$} | 359 | \addbibresource{$bibliography$} |
360 | $endfor$ | 360 | $endfor$ |
361 | $endif$ | 361 | $endif$ |
362 | $if(csl-refs)$ | ||
363 | \newlength{\cslhangindent} | ||
364 | \setlength{\cslhangindent}{1.5em} | ||
365 | \newenvironment{cslreferences}% | ||
366 | {$if(csl-hanging-indent)$\setlength{\parindent}{0pt}% | ||
367 | \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}% | ||
368 | {\par} | ||
369 | $endif$ | ||
362 | 370 | ||
363 | $if(title)$ | 371 | $if(title)$ |
364 | \title{$title$$if(thanks)$\thanks{$thanks$}$endif$} | 372 | \title{$title$$if(thanks)$\thanks{$thanks$}$endif$} |
diff --git a/default.man b/default.man index 44b5919..f257ec3 100644 --- a/default.man +++ b/default.man | |||
@@ -12,7 +12,7 @@ $endif$ | |||
12 | $if(hyphenate)$ | 12 | $if(hyphenate)$ |
13 | .hy | 13 | .hy |
14 | $else$ | 14 | $else$ |
15 | .nh \" Turn off hyphenation by default. | 15 | .nh |
16 | $endif$ | 16 | $endif$ |
17 | $for(header-includes)$ | 17 | $for(header-includes)$ |
18 | $header-includes$ | 18 | $header-includes$ |
@@ -31,11 +31,11 @@ $endif$ | |||
31 | .\" line height | 31 | .\" line height |
32 | .nr VS $if(lineheight)$$lineheight$$else$12p$endif$ | 32 | .nr VS $if(lineheight)$$lineheight$$else$12p$endif$ |
33 | .\" font family: A, BM, H, HN, N, P, T, ZCM | 33 | .\" font family: A, BM, H, HN, N, P, T, ZCM |
34 | .fam $if(fontfamily)$$fontfamily$$else$T$endif$ | 34 | .fam $if(fontfamily)$$fontfamily$$else$P$endif$ |
35 | .\" paragraph indent | 35 | .\" paragraph indent |
36 | .nr PI $if(indent)$$indent$$else$2m$endif$ | 36 | .nr PI $if(indent)$$indent$$else$0m$endif$ |
37 | .\" interparagraph space | 37 | .\" interparagraph space |
38 | .nr PD 0.33v | 38 | .nr PD 0.4v |
39 | .\" footnote width | 39 | .\" footnote width |
40 | .nr FL \n[LL] | 40 | .nr FL \n[LL] |
41 | .\" footnote point size | 41 | .\" footnote point size |
@@ -57,6 +57,9 @@ $endif$ | |||
57 | .\" comment these out if you want a dot after section numbers: | 57 | .\" comment these out if you want a dot after section numbers: |
58 | .als SN SN-NO-DOT | 58 | .als SN SN-NO-DOT |
59 | .als SN-STYLE SN-NO-DOT | 59 | .als SN-STYLE SN-NO-DOT |
60 | .\" page numbers in footer, centered | ||
61 | .rm CH | ||
62 | .ds CF % | ||
60 | .\" pdf outline fold level | 63 | .\" pdf outline fold level |
61 | .nr PDFOUTLINE.FOLDLEVEL 3 | 64 | .nr PDFOUTLINE.FOLDLEVEL 3 |
62 | .\" start out in outline view | 65 | .\" start out in outline view |
@@ -71,7 +74,7 @@ $endif$ | |||
71 | $if(hyphenate)$ | 74 | $if(hyphenate)$ |
72 | .hy | 75 | .hy |
73 | $else$ | 76 | $else$ |
74 | .nh \" Turn off hyphenation by default. | 77 | .nh |
75 | $endif$ | 78 | $endif$ |
76 | $if(has-inline-math)$ | 79 | $if(has-inline-math)$ |
77 | .EQ | 80 | .EQ |
diff --git a/default.muse b/default.muse index 05534ad..3bae4d0 100644 --- a/default.muse +++ b/default.muse | |||
@@ -1,5 +1,5 @@ | |||
1 | $if(author)$ | 1 | $if(author)$ |
2 | #author $author$ | 2 | #author $for(author)$$author$$sep$; $endfor$ |
3 | $endif$ | 3 | $endif$ |
4 | $if(title)$ | 4 | $if(title)$ |
5 | #title $title$ | 5 | #title $title$ |
diff --git a/default.revealjs b/default.revealjs index b8bbbb0..f63fc14 100644 --- a/default.revealjs +++ b/default.revealjs | |||
@@ -19,19 +19,8 @@ $endif$ | |||
19 | <link rel="stylesheet" href="$revealjs-url$/css/reset.css"> | 19 | <link rel="stylesheet" href="$revealjs-url$/css/reset.css"> |
20 | <link rel="stylesheet" href="$revealjs-url$/css/reveal.css"> | 20 | <link rel="stylesheet" href="$revealjs-url$/css/reveal.css"> |
21 | <style> | 21 | <style> |
22 | code{white-space: pre-wrap;} | 22 | $styles.html()$ |
23 | span.smallcaps{font-variant: small-caps;} | ||
24 | span.underline{text-decoration: underline;} | ||
25 | div.column{display: inline-block; vertical-align: top; width: 50%;} | ||
26 | $if(quotes)$ | ||
27 | q { quotes: "“" "”" "‘" "’"; } | ||
28 | $endif$ | ||
29 | </style> | ||
30 | $if(highlighting-css)$ | ||
31 | <style> | ||
32 | $highlighting-css$ | ||
33 | </style> | 23 | </style> |
34 | $endif$ | ||
35 | $if(theme)$ | 24 | $if(theme)$ |
36 | <link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme"> | 25 | <link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme"> |
37 | $else$ | 26 | $else$ |
@@ -138,6 +127,10 @@ $if(rtl)$ | |||
138 | // Change the presentation direction to be RTL | 127 | // Change the presentation direction to be RTL |
139 | rtl: $rtl$, | 128 | rtl: $rtl$, |
140 | $endif$ | 129 | $endif$ |
130 | $if(navigationMode)$ | ||
131 | // see https://github.com/hakimel/reveal.js/#navigation-mode | ||
132 | navigationMode: '$navigationMode$', | ||
133 | $endif$ | ||
141 | $if(fragments)$ | 134 | $if(fragments)$ |
142 | // Turns fragments on and off globally | 135 | // Turns fragments on and off globally |
143 | fragments: $fragments$, | 136 | fragments: $fragments$, |
@@ -16,22 +16,11 @@ $if(keywords)$ | |||
16 | $endif$ | 16 | $endif$ |
17 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> | 17 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> |
18 | <style type="text/css"> | 18 | <style type="text/css"> |
19 | code{white-space: pre-wrap;} | 19 | $styles.html()$ |
20 | span.smallcaps{font-variant: small-caps;} | ||
21 | span.underline{text-decoration: underline;} | ||
22 | div.column{display: inline-block; vertical-align: top; width: 50%;} | ||
23 | $if(quotes)$ | ||
24 | q { quotes: "“" "”" "‘" "’"; } | ||
25 | $endif$ | ||
26 | </style> | 20 | </style> |
27 | <!-- configuration parameters --> | 21 | <!-- configuration parameters --> |
28 | <meta name="defaultView" content="slideshow" /> | 22 | <meta name="defaultView" content="slideshow" /> |
29 | <meta name="controlVis" content="hidden" /> | 23 | <meta name="controlVis" content="hidden" /> |
30 | $if(highlighting-css)$ | ||
31 | <style type="text/css"> | ||
32 | $highlighting-css$ | ||
33 | </style> | ||
34 | $endif$ | ||
35 | $for(css)$ | 24 | $for(css)$ |
36 | <link rel="stylesheet" href="$css$" type="text/css" /> | 25 | <link rel="stylesheet" href="$css$" type="text/css" /> |
37 | $endfor$ | 26 | $endfor$ |
diff --git a/default.slideous b/default.slideous index ad58272..ebf582d 100644 --- a/default.slideous +++ b/default.slideous | |||
@@ -17,19 +17,8 @@ $if(keywords)$ | |||
17 | $endif$ | 17 | $endif$ |
18 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> | 18 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> |
19 | <style type="text/css"> | 19 | <style type="text/css"> |
20 | code{white-space: pre-wrap;} | 20 | $styles.html()$ |
21 | span.smallcaps{font-variant: small-caps;} | ||
22 | span.underline{text-decoration: underline;} | ||
23 | div.column{display: inline-block; vertical-align: top; width: 50%;} | ||
24 | $if(quotes)$ | ||
25 | q { quotes: "“" "”" "‘" "’"; } | ||
26 | $endif$ | ||
27 | </style> | ||
28 | $if(highlighting-css)$ | ||
29 | <style type="text/css"> | ||
30 | $highlighting-css$ | ||
31 | </style> | 21 | </style> |
32 | $endif$ | ||
33 | <link rel="stylesheet" type="text/css" media="screen, projection, print" | 22 | <link rel="stylesheet" type="text/css" media="screen, projection, print" |
34 | href="$slideous-url$/slideous.css" /> | 23 | href="$slideous-url$/slideous.css" /> |
35 | $for(css)$ | 24 | $for(css)$ |
diff --git a/default.slidy b/default.slidy index 98b8d66..6b97768 100644 --- a/default.slidy +++ b/default.slidy | |||
@@ -17,19 +17,8 @@ $if(keywords)$ | |||
17 | $endif$ | 17 | $endif$ |
18 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> | 18 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> |
19 | <style type="text/css"> | 19 | <style type="text/css"> |
20 | code{white-space: pre-wrap;} | 20 | $styles.html()$ |
21 | span.smallcaps{font-variant: small-caps;} | ||
22 | span.underline{text-decoration: underline;} | ||
23 | div.column{display: inline-block; vertical-align: top; width: 50%;} | ||
24 | $if(quotes)$ | ||
25 | q { quotes: "“" "”" "‘" "’"; } | ||
26 | $endif$ | ||
27 | </style> | ||
28 | $if(highlighting-css)$ | ||
29 | <style type="text/css"> | ||
30 | $highlighting-css$ | ||
31 | </style> | 21 | </style> |
32 | $endif$ | ||
33 | <link rel="stylesheet" type="text/css" media="screen, projection, print" | 22 | <link rel="stylesheet" type="text/css" media="screen, projection, print" |
34 | href="$slidy-url$/styles/slidy.css" /> | 23 | href="$slidy-url$/styles/slidy.css" /> |
35 | $for(css)$ | 24 | $for(css)$ |