diff options
-rw-r--r-- | default.dzslides | 4 | ||||
-rw-r--r-- | default.epub3 | 6 | ||||
-rw-r--r-- | default.html5 | 4 | ||||
-rw-r--r-- | default.latex | 173 | ||||
-rw-r--r-- | default.revealjs | 8 |
5 files changed, 117 insertions, 78 deletions
diff --git a/default.dzslides b/default.dzslides index 892a434..96862a2 100644 --- a/default.dzslides +++ b/default.dzslides | |||
@@ -12,7 +12,7 @@ $if(keywords)$ | |||
12 | <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$"> | 12 | <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$"> |
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 type="text/css"> | 15 | <style> |
16 | code{white-space: pre-wrap;} | 16 | code{white-space: pre-wrap;} |
17 | span.smallcaps{font-variant: small-caps;} | 17 | span.smallcaps{font-variant: small-caps;} |
18 | span.underline{text-decoration: underline;} | 18 | span.underline{text-decoration: underline;} |
@@ -22,7 +22,7 @@ $if(quotes)$ | |||
22 | $endif$ | 22 | $endif$ |
23 | </style> | 23 | </style> |
24 | $if(highlighting-css)$ | 24 | $if(highlighting-css)$ |
25 | <style type="text/css"> | 25 | <style> |
26 | $highlighting-css$ | 26 | $highlighting-css$ |
27 | </style> | 27 | </style> |
28 | $endif$ | 28 | $endif$ |
diff --git a/default.epub3 b/default.epub3 index 6428e98..0bd4a1a 100644 --- a/default.epub3 +++ b/default.epub3 | |||
@@ -5,7 +5,7 @@ | |||
5 | <meta charset="utf-8" /> | 5 | <meta charset="utf-8" /> |
6 | <meta name="generator" content="pandoc" /> | 6 | <meta name="generator" content="pandoc" /> |
7 | <title>$pagetitle$</title> | 7 | <title>$pagetitle$</title> |
8 | <style type="text/css"> | 8 | <style> |
9 | code{white-space: pre-wrap;} | 9 | code{white-space: pre-wrap;} |
10 | span.smallcaps{font-variant: small-caps;} | 10 | span.smallcaps{font-variant: small-caps;} |
11 | span.underline{text-decoration: underline;} | 11 | span.underline{text-decoration: underline;} |
@@ -15,12 +15,12 @@ $if(quotes)$ | |||
15 | $endif$ | 15 | $endif$ |
16 | </style> | 16 | </style> |
17 | $if(highlighting-css)$ | 17 | $if(highlighting-css)$ |
18 | <style type="text/css"> | 18 | <style> |
19 | $highlighting-css$ | 19 | $highlighting-css$ |
20 | </style> | 20 | </style> |
21 | $endif$ | 21 | $endif$ |
22 | $for(css)$ | 22 | $for(css)$ |
23 | <link rel="stylesheet" type="text/css" href="$css$" /> | 23 | <link rel="stylesheet" href="$css$" /> |
24 | $endfor$ | 24 | $endfor$ |
25 | $for(header-includes)$ | 25 | $for(header-includes)$ |
26 | $header-includes$ | 26 | $header-includes$ |
diff --git a/default.html5 b/default.html5 index c2bf0e0..1d7bef4 100644 --- a/default.html5 +++ b/default.html5 | |||
@@ -14,7 +14,7 @@ $if(keywords)$ | |||
14 | <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> | 14 | <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> |
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> |
18 | code{white-space: pre-wrap;} | 18 | code{white-space: pre-wrap;} |
19 | span.smallcaps{font-variant: small-caps;} | 19 | span.smallcaps{font-variant: small-caps;} |
20 | span.underline{text-decoration: underline;} | 20 | span.underline{text-decoration: underline;} |
@@ -24,7 +24,7 @@ $if(quotes)$ | |||
24 | $endif$ | 24 | $endif$ |
25 | </style> | 25 | </style> |
26 | $if(highlighting-css)$ | 26 | $if(highlighting-css)$ |
27 | <style type="text/css"> | 27 | <style> |
28 | $highlighting-css$ | 28 | $highlighting-css$ |
29 | </style> | 29 | </style> |
30 | $endif$ | 30 | $endif$ |
diff --git a/default.latex b/default.latex index 737ebaa..8a37e7e 100644 --- a/default.latex +++ b/default.latex | |||
@@ -2,14 +2,40 @@ | |||
2 | \PassOptionsToPackage{hyphens}{url} | 2 | \PassOptionsToPackage{hyphens}{url} |
3 | $if(colorlinks)$ | 3 | $if(colorlinks)$ |
4 | \PassOptionsToPackage{dvipsnames,svgnames*,x11names*}{xcolor} | 4 | \PassOptionsToPackage{dvipsnames,svgnames*,x11names*}{xcolor} |
5 | $endif$$if(dir)$$if(latex-dir-rtl)$ | 5 | $endif$ |
6 | $if(dir)$ | ||
7 | $if(latex-dir-rtl)$ | ||
6 | \PassOptionsToPackage{RTLdocument}{bidi} | 8 | \PassOptionsToPackage{RTLdocument}{bidi} |
7 | $endif$$endif$% | 9 | $endif$ |
8 | \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$if(beamer)$ignorenonframetext,$if(handout)$handout,$endif$$if(aspectratio)$aspectratio=$aspectratio$,$endif$$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} | 10 | $endif$ |
11 | % | ||
12 | \documentclass[ | ||
13 | $if(fontsize)$ | ||
14 | $fontsize$, | ||
15 | $endif$ | ||
16 | $if(lang)$ | ||
17 | $babel-lang$, | ||
18 | $endif$ | ||
19 | $if(papersize)$ | ||
20 | $papersize$paper, | ||
21 | $endif$ | ||
22 | $if(beamer)$ | ||
23 | ignorenonframetext, | ||
24 | $if(handout)$ | ||
25 | handout, | ||
26 | $endif$ | ||
27 | $if(aspectratio)$ | ||
28 | aspectratio=$aspectratio$, | ||
29 | $endif$ | ||
30 | $endif$ | ||
31 | $for(classoption)$ | ||
32 | $classoption$$sep$, | ||
33 | $endfor$ | ||
34 | ]{$documentclass$} | ||
9 | $if(beamer)$ | 35 | $if(beamer)$ |
10 | $if(background-image)$ | 36 | $if(background-image)$ |
11 | \usebackgroundtemplate{% | 37 | \usebackgroundtemplate{% |
12 | \includegraphics[width=\paperwidth]{$background-image$}% | 38 | \includegraphics[width=\paperwidth]{$background-image$}% |
13 | } | 39 | } |
14 | $endif$ | 40 | $endif$ |
15 | \usepackage{pgfpages} | 41 | \usepackage{pgfpages} |
@@ -25,22 +51,22 @@ $endfor$ | |||
25 | \raggedbottom | 51 | \raggedbottom |
26 | $if(section-titles)$ | 52 | $if(section-titles)$ |
27 | \setbeamertemplate{part page}{ | 53 | \setbeamertemplate{part page}{ |
28 | \centering | 54 | \centering |
29 | \begin{beamercolorbox}[sep=16pt,center]{part title} | 55 | \begin{beamercolorbox}[sep=16pt,center]{part title} |
30 | \usebeamerfont{part title}\insertpart\par | 56 | \usebeamerfont{part title}\insertpart\par |
31 | \end{beamercolorbox} | 57 | \end{beamercolorbox} |
32 | } | 58 | } |
33 | \setbeamertemplate{section page}{ | 59 | \setbeamertemplate{section page}{ |
34 | \centering | 60 | \centering |
35 | \begin{beamercolorbox}[sep=12pt,center]{part title} | 61 | \begin{beamercolorbox}[sep=12pt,center]{part title} |
36 | \usebeamerfont{section title}\insertsection\par | 62 | \usebeamerfont{section title}\insertsection\par |
37 | \end{beamercolorbox} | 63 | \end{beamercolorbox} |
38 | } | 64 | } |
39 | \setbeamertemplate{subsection page}{ | 65 | \setbeamertemplate{subsection page}{ |
40 | \centering | 66 | \centering |
41 | \begin{beamercolorbox}[sep=8pt,center]{part title} | 67 | \begin{beamercolorbox}[sep=8pt,center]{part title} |
42 | \usebeamerfont{subsection title}\insertsubsection\par | 68 | \usebeamerfont{subsection title}\insertsubsection\par |
43 | \end{beamercolorbox} | 69 | \end{beamercolorbox} |
44 | } | 70 | } |
45 | \AtBeginPart{ | 71 | \AtBeginPart{ |
46 | \frame{\partpage} | 72 | \frame{\partpage} |
@@ -70,7 +96,6 @@ $if(linestretch)$ | |||
70 | $endif$ | 96 | $endif$ |
71 | \usepackage{amssymb,amsmath} | 97 | \usepackage{amssymb,amsmath} |
72 | \usepackage{ifxetex,ifluatex} | 98 | \usepackage{ifxetex,ifluatex} |
73 | \usepackage{fixltx2e} % provides \textsubscript | ||
74 | \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex | 99 | \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex |
75 | \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} | 100 | \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} |
76 | \usepackage[utf8]{inputenc} | 101 | \usepackage[utf8]{inputenc} |
@@ -85,22 +110,20 @@ $if(mathspec)$ | |||
85 | $else$ | 110 | $else$ |
86 | \usepackage{unicode-math} | 111 | \usepackage{unicode-math} |
87 | $endif$ | 112 | $endif$ |
88 | \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase} | 113 | \defaultfontfeatures{Scale=MatchLowercase} |
89 | $for(fontfamilies)$ | 114 | \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} |
90 | \newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$} | ||
91 | $endfor$ | ||
92 | $if(mainfont)$ | 115 | $if(mainfont)$ |
93 | \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$} | 116 | \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$} |
94 | $endif$ | ||
95 | $if(romanfont)$ | ||
96 | \setromanfont[$for(romanfontoptions)$$romanfontoptions$$sep$,$endfor$]{$romanfont$} | ||
97 | $endif$ | 117 | $endif$ |
98 | $if(sansfont)$ | 118 | $if(sansfont)$ |
99 | \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$} | 119 | \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$} |
100 | $endif$ | 120 | $endif$ |
101 | $if(monofont)$ | 121 | $if(monofont)$ |
102 | \setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$endif$]{$monofont$} | 122 | \setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$} |
103 | $endif$ | 123 | $endif$ |
124 | $for(fontfamilies)$ | ||
125 | \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$} | ||
126 | $endfor$ | ||
104 | $if(mathfont)$ | 127 | $if(mathfont)$ |
105 | $if(mathspec)$ | 128 | $if(mathspec)$ |
106 | \ifxetex | 129 | \ifxetex |
@@ -152,47 +175,49 @@ $endif$ | |||
152 | $endif$ | 175 | $endif$ |
153 | % use upquote if available, for straight quotes in verbatim environments | 176 | % use upquote if available, for straight quotes in verbatim environments |
154 | \IfFileExists{upquote.sty}{\usepackage{upquote}}{} | 177 | \IfFileExists{upquote.sty}{\usepackage{upquote}}{} |
155 | % use microtype if available | 178 | \IfFileExists{microtype.sty}{% use microtype if available |
156 | \IfFileExists{microtype.sty}{% | 179 | \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype} |
157 | \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype} | 180 | \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts |
158 | \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts | ||
159 | }{} | 181 | }{} |
160 | $if(indent)$ | 182 | $if(indent)$ |
161 | $else$ | 183 | $else$ |
162 | \IfFileExists{parskip.sty}{% | 184 | \makeatletter |
163 | \usepackage{parskip} | 185 | \@ifundefined{KOMAClassName}{% if non-KOMA class |
164 | }{% else | 186 | \IfFileExists{parskip.sty}{% |
165 | \setlength{\parindent}{0pt} | 187 | \usepackage{parskip} |
166 | \setlength{\parskip}{6pt plus 2pt minus 1pt} | 188 | }{% else |
167 | } | 189 | \setlength{\parindent}{0pt} |
190 | \setlength{\parskip}{6pt plus 2pt minus 1pt}} | ||
191 | }{% if KOMA class | ||
192 | \KOMAoptions{parskip=half}} | ||
193 | \makeatother | ||
168 | $endif$ | 194 | $endif$ |
169 | $if(verbatim-in-note)$ | 195 | $if(verbatim-in-note)$ |
170 | \usepackage{fancyvrb} | 196 | \usepackage{fancyvrb} |
171 | $endif$ | 197 | $endif$ |
172 | $if(colorlinks)$ | ||
173 | \usepackage{xcolor} | 198 | \usepackage{xcolor} |
174 | $endif$ | 199 | \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available |
175 | \usepackage{hyperref} | 200 | \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} |
176 | \hypersetup{ | 201 | \hypersetup{ |
177 | $if(title-meta)$ | 202 | $if(title-meta)$ |
178 | pdftitle={$title-meta$}, | 203 | pdftitle={$title-meta$}, |
179 | $endif$ | 204 | $endif$ |
180 | $if(author-meta)$ | 205 | $if(author-meta)$ |
181 | pdfauthor={$author-meta$}, | 206 | pdfauthor={$author-meta$}, |
182 | $endif$ | 207 | $endif$ |
183 | $if(keywords)$ | 208 | $if(keywords)$ |
184 | pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, | 209 | pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, |
185 | $endif$ | 210 | $endif$ |
186 | $if(colorlinks)$ | 211 | $if(colorlinks)$ |
187 | colorlinks=true, | 212 | colorlinks=true, |
188 | linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$, | 213 | linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$, |
189 | filecolor=$if(filecolor)$$filecolor$$else$Maroon$endif$, | 214 | filecolor=$if(filecolor)$$filecolor$$else$Maroon$endif$, |
190 | citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$, | 215 | citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$, |
191 | urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$, | 216 | urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$, |
192 | $else$ | 217 | $else$ |
193 | pdfborder={0 0 0}, | 218 | pdfborder={0 0 0}, |
194 | $endif$ | 219 | $endif$ |
195 | breaklinks=true} | 220 | breaklinks=true} |
196 | \urlstyle{same} % don't use monospace font for urls | 221 | \urlstyle{same} % don't use monospace font for urls |
197 | $if(verbatim-in-note)$ | 222 | $if(verbatim-in-note)$ |
198 | \VerbatimFootnotes % allows verbatim text in footnotes | 223 | \VerbatimFootnotes % allows verbatim text in footnotes |
@@ -206,6 +231,8 @@ $endif$ | |||
206 | $if(listings)$ | 231 | $if(listings)$ |
207 | \usepackage{listings} | 232 | \usepackage{listings} |
208 | \newcommand{\passthrough}[1]{#1} | 233 | \newcommand{\passthrough}[1]{#1} |
234 | \lstset{defaultdialect=[5.3]Lua} | ||
235 | \lstset{defaultdialect=[x86masm]Assembler} | ||
209 | $endif$ | 236 | $endif$ |
210 | $if(lhs)$ | 237 | $if(lhs)$ |
211 | \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} | 238 | \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} |
@@ -222,8 +249,9 @@ $if(beamer)$ | |||
222 | \def\fnum@table{\tablename~\thetable} | 249 | \def\fnum@table{\tablename~\thetable} |
223 | \makeatother | 250 | \makeatother |
224 | $else$ | 251 | $else$ |
225 | % Fix footnotes in tables (requires footnote package) | 252 | % Allow footnotes in longtable head/foot |
226 | \IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{} | 253 | \IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}} |
254 | \makesavenoteenv{longtable} | ||
227 | $endif$ | 255 | $endif$ |
228 | $endif$ | 256 | $endif$ |
229 | $if(graphics)$ | 257 | $if(graphics)$ |
@@ -252,7 +280,7 @@ $endif$ | |||
252 | $if(numbersections)$ | 280 | $if(numbersections)$ |
253 | \setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$} | 281 | \setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$} |
254 | $else$ | 282 | $else$ |
255 | \setcounter{secnumdepth}{0} | 283 | \setcounter{secnumdepth}{-2} |
256 | $endif$ | 284 | $endif$ |
257 | $if(beamer)$ | 285 | $if(beamer)$ |
258 | $else$ | 286 | $else$ |
@@ -260,12 +288,12 @@ $if(subparagraph)$ | |||
260 | $else$ | 288 | $else$ |
261 | % Redefines (sub)paragraphs to behave more like sections | 289 | % Redefines (sub)paragraphs to behave more like sections |
262 | \ifx\paragraph\undefined\else | 290 | \ifx\paragraph\undefined\else |
263 | \let\oldparagraph\paragraph | 291 | \let\oldparagraph\paragraph |
264 | \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}} | 292 | \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}} |
265 | \fi | 293 | \fi |
266 | \ifx\subparagraph\undefined\else | 294 | \ifx\subparagraph\undefined\else |
267 | \let\oldsubparagraph\subparagraph | 295 | \let\oldsubparagraph\subparagraph |
268 | \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}} | 296 | \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}} |
269 | \fi | 297 | \fi |
270 | $endif$ | 298 | $endif$ |
271 | $endif$ | 299 | $endif$ |
@@ -282,12 +310,12 @@ $for(header-includes)$ | |||
282 | $header-includes$ | 310 | $header-includes$ |
283 | $endfor$ | 311 | $endfor$ |
284 | $if(lang)$ | 312 | $if(lang)$ |
285 | \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex | 313 | \ifnum 0\ifxetex 1\fi=0 % if pdftex or luatex |
286 | \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel} | 314 | \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel} |
287 | $if(babel-newcommands)$ | 315 | $if(babel-newcommands)$ |
288 | $babel-newcommands$ | 316 | $babel-newcommands$ |
289 | $endif$ | 317 | $endif$ |
290 | \else | 318 | \else % if xetex |
291 | % load polyglossia as late as possible as it *could* call bidi if RTL lang (e.g. Hebrew or Arabic) | 319 | % load polyglossia as late as possible as it *could* call bidi if RTL lang (e.g. Hebrew or Arabic) |
292 | \usepackage{polyglossia} | 320 | \usepackage{polyglossia} |
293 | \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$} | 321 | \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$} |
@@ -324,18 +352,25 @@ $if(title)$ | |||
324 | \title{$title$$if(thanks)$\thanks{$thanks$}$endif$} | 352 | \title{$title$$if(thanks)$\thanks{$thanks$}$endif$} |
325 | $endif$ | 353 | $endif$ |
326 | $if(subtitle)$ | 354 | $if(subtitle)$ |
327 | \providecommand{\subtitle}[1]{} | 355 | $if(beamer)$ |
356 | $else$ | ||
357 | \usepackage{etoolbox} | ||
358 | \makeatletter | ||
359 | \providecommand{\subtitle}[1]{% add subtitle to \maketitle | ||
360 | \apptocmd{\@title}{\par {\large #1 \par}}{}{} | ||
361 | } | ||
362 | \makeatother | ||
363 | $endif$ | ||
328 | \subtitle{$subtitle$} | 364 | \subtitle{$subtitle$} |
329 | $endif$ | 365 | $endif$ |
330 | $if(author)$ | 366 | $if(author)$ |
331 | \author{$for(author)$$author$$sep$ \and $endfor$} | 367 | \author{$for(author)$$author$$sep$ \and $endfor$} |
332 | $endif$ | 368 | $endif$ |
369 | \date{$date$} | ||
370 | $if(beamer)$ | ||
333 | $if(institute)$ | 371 | $if(institute)$ |
334 | \providecommand{\institute}[1]{} | ||
335 | \institute{$for(institute)$$institute$$sep$ \and $endfor$} | 372 | \institute{$for(institute)$$institute$$sep$ \and $endfor$} |
336 | $endif$ | 373 | $endif$ |
337 | \date{$date$} | ||
338 | $if(beamer)$ | ||
339 | $if(titlegraphic)$ | 374 | $if(titlegraphic)$ |
340 | \titlegraphic{\includegraphics{$titlegraphic$}} | 375 | \titlegraphic{\includegraphics{$titlegraphic$}} |
341 | $endif$ | 376 | $endif$ |
@@ -369,9 +404,9 @@ $endif$ | |||
369 | $if(beamer)$ | 404 | $if(beamer)$ |
370 | \begin{frame} | 405 | \begin{frame} |
371 | $if(toc-title)$ | 406 | $if(toc-title)$ |
372 | \frametitle{$toc-title$} | 407 | \frametitle{$toc-title$} |
373 | $endif$ | 408 | $endif$ |
374 | \tableofcontents[hideallsubsections] | 409 | \tableofcontents[hideallsubsections] |
375 | \end{frame} | 410 | \end{frame} |
376 | $else$ | 411 | $else$ |
377 | { | 412 | { |
@@ -402,9 +437,9 @@ $endif$ | |||
402 | $endif$ | 437 | $endif$ |
403 | $if(beamer)$ | 438 | $if(beamer)$ |
404 | \begin{frame}[allowframebreaks]{$biblio-title$} | 439 | \begin{frame}[allowframebreaks]{$biblio-title$} |
405 | \bibliographytrue | 440 | \bibliographytrue |
406 | $endif$ | 441 | $endif$ |
407 | \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} | 442 | \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} |
408 | $if(beamer)$ | 443 | $if(beamer)$ |
409 | \end{frame} | 444 | \end{frame} |
410 | $endif$ | 445 | $endif$ |
@@ -414,8 +449,8 @@ $endif$ | |||
414 | $if(biblatex)$ | 449 | $if(biblatex)$ |
415 | $if(beamer)$ | 450 | $if(beamer)$ |
416 | \begin{frame}[allowframebreaks]{$biblio-title$} | 451 | \begin{frame}[allowframebreaks]{$biblio-title$} |
417 | \bibliographytrue | 452 | \bibliographytrue |
418 | \printbibliography[heading=none] | 453 | \printbibliography[heading=none] |
419 | \end{frame} | 454 | \end{frame} |
420 | $else$ | 455 | $else$ |
421 | \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ | 456 | \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ |
diff --git a/default.revealjs b/default.revealjs index 5d76071..9469291 100644 --- a/default.revealjs +++ b/default.revealjs | |||
@@ -17,7 +17,7 @@ $endif$ | |||
17 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> | 17 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> |
18 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"> | 18 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"> |
19 | <link rel="stylesheet" href="$revealjs-url$/css/reveal.css"> | 19 | <link rel="stylesheet" href="$revealjs-url$/css/reveal.css"> |
20 | <style type="text/css"> | 20 | <style> |
21 | code{white-space: pre-wrap;} | 21 | code{white-space: pre-wrap;} |
22 | span.smallcaps{font-variant: small-caps;} | 22 | span.smallcaps{font-variant: small-caps;} |
23 | span.underline{text-decoration: underline;} | 23 | span.underline{text-decoration: underline;} |
@@ -27,7 +27,7 @@ $if(quotes)$ | |||
27 | $endif$ | 27 | $endif$ |
28 | </style> | 28 | </style> |
29 | $if(highlighting-css)$ | 29 | $if(highlighting-css)$ |
30 | <style type="text/css"> | 30 | <style> |
31 | $highlighting-css$ | 31 | $highlighting-css$ |
32 | </style> | 32 | </style> |
33 | $endif$ | 33 | $endif$ |
@@ -239,6 +239,10 @@ $endif$ | |||
239 | $if(maxScale)$ | 239 | $if(maxScale)$ |
240 | maxScale: $maxScale$, | 240 | maxScale: $maxScale$, |
241 | $endif$ | 241 | $endif$ |
242 | $if(zoomKey)$ | ||
243 | // Modifier key used to click-zoom to part of the slide | ||
244 | zoomKey: '$zoomKey$', | ||
245 | $endif$ | ||
242 | $if(mathjax)$ | 246 | $if(mathjax)$ |
243 | math: { | 247 | math: { |
244 | mathjax: '$mathjaxurl$', | 248 | mathjax: '$mathjaxurl$', |