summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-10-25 00:40:49 +0200
committerJonas Smedegaard <dr@jones.dk>2015-10-25 00:40:49 +0200
commit3b5e96f21b3f0a7df5c5cedccaa84f29ec25242e (patch)
tree10255c9949ee4b84f561153b6e111beadbb73755 /data/templates
parent31631af9f0bbc1ab2fc490019184262cd84b5257 (diff)
parent7f5a677bbff1a99d36a81312140dcd928d05262d (diff)
Imported Upstream version 1.15.1.1~dfsg
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.beamer121
-rw-r--r--data/templates/default.context8
-rw-r--r--data/templates/default.html2
-rw-r--r--data/templates/default.html58
-rw-r--r--data/templates/default.latex62
-rw-r--r--data/templates/default.man10
-rw-r--r--data/templates/default.revealjs182
7 files changed, 302 insertions, 91 deletions
diff --git a/data/templates/default.beamer b/data/templates/default.beamer
index a4ed01884..8cab25b8e 100644
--- a/data/templates/default.beamer
+++ b/data/templates/default.beamer
@@ -1,4 +1,4 @@
-\documentclass[$if(fontsize)$$fontsize$,$endif$$if(handout)$handout,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
+\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
$if(theme)$
\usetheme{$theme$}
$endif$
@@ -8,37 +8,78 @@ $endif$
$if(fonttheme)$
\usefonttheme{$fonttheme$}
$endif$
+$if(mainfont)$
+\usefonttheme{serif} % use mainfont rather than sansfont for slide text
+$endif$
+$if(innertheme)$
+\useinnertheme{$innertheme$}
+$endif$
+$if(outertheme)$
+\useoutertheme{$outertheme$}
+$endif$
\setbeamertemplate{caption}[numbered]
-\setbeamertemplate{caption label separator}{:}
+\setbeamertemplate{caption label separator}{: }
\setbeamercolor{caption name}{fg=normal text.fg}
+$if(fontfamily)$
+\usepackage[$fontfamilyoptions$]{$fontfamily$}
+$else$
+\usepackage{lmodern}
+$endif$
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
-\usepackage{lmodern}
-\ifxetex
- \usepackage{fontspec,xltxtra,xunicode}
- \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
- \newcommand{\euro}{€}
-\else
- \ifluatex
- \usepackage{fontspec}
- \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
- \newcommand{\euro}{€}
+\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
+ \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
+ \usepackage[utf8]{inputenc}
+$if(euro)$
+ \usepackage{eurosym}
+$endif$
+\else % if luatex or xelatex
+ \ifxetex
+ \usepackage{mathspec}
\else
- \usepackage[T1]{fontenc}
- \usepackage[utf8]{inputenc}
- $if(euro)$
- \usepackage{eurosym}
- $endif$
+ \usepackage{fontspec}
\fi
+ \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
+ \newcommand{\euro}{€}
+$if(mainfont)$
+ \setmainfont[$mainfontoptions$]{$mainfont$}
+$endif$
+$if(sansfont)$
+ \setsansfont[$sansfontoptions$]{$sansfont$}
+$endif$
+$if(monofont)$
+ \setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$monofontoptions$$endif$]{$monofont$}
+$endif$
+$if(mathfont)$
+ \setmathfont(Digits,Latin,Greek)[$mathfontoptions$]{$mathfont$}
+$endif$
+$if(CJKmainfont)$
+ \usepackage{xeCJK}
+ \setCJKmainfont[$CJKoptions$]{$CJKmainfont$}
+$endif$
\fi
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
-\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
+\IfFileExists{microtype.sty}{%
+\usepackage{microtype}
+\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
+}{}
+$if(lang)$
+\ifxetex
+ \usepackage{polyglossia}
+ \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
+$for(polyglossia-otherlangs)$
+ \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
+$endfor$
+\else
+ \usepackage[shorthands=off,$babel-lang$]{babel}
+\fi
+$endif$
$if(natbib)$
\usepackage{natbib}
-\bibliographystyle{plainnat}
+\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
$endif$
$if(biblatex)$
\usepackage{biblatex}
@@ -57,6 +98,7 @@ $highlighting-macros$
$endif$
$if(verbatim-in-note)$
\usepackage{fancyvrb}
+\VerbatimFootnotes % allows verbatim text in footnotes
$endif$
$if(tables)$
\usepackage{longtable,booktabs}
@@ -66,11 +108,8 @@ $if(tables)$
\def\fnum@table{\tablename~\thetable}
\makeatother
$endif$
-$if(url)$
-\usepackage{url}
-$endif$
$if(graphics)$
-\usepackage{graphicx}
+\usepackage{graphicx,grffile}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight0.8\textheight\else\Gin@nat@height\fi}
@@ -99,35 +138,40 @@ $endif$
\frame{\subsectionpage}
}
+$if(links-as-notes)$
+% Make links footnotes instead of hotlinks:
+\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
+$endif$
$if(strikeout)$
\usepackage[normalem]{ulem}
% avoid problems with \sout in headers with hyperref:
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
$endif$
-\setlength{\parindent}{0pt}
-\setlength{\parskip}{6pt plus 2pt minus 1pt}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
$if(numbersections)$
+\setcounter{secnumdepth}{5}
$else$
\setcounter{secnumdepth}{0}
$endif$
-$if(verbatim-in-note)$
-\VerbatimFootnotes % allows verbatim text in footnotes
-$endif$
-$if(lang)$
+$if(dir)$
\ifxetex
- \usepackage{polyglossia}
- \setmainlanguage{$mainlang$}
- \setotherlanguages{$for(otherlang)$$otherlang$$sep$,$endfor$}
-\else
- \usepackage[shorthands=off,$lang$]{babel}
+ % load bidi as late as possible as it modifies e.g. graphicx
+ $if(latex-dir-rtl)$
+ \usepackage[RTLdocument]{bidi}
+ $else$
+ \usepackage{bidi}
+ $endif$
+\fi
+\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
+ \TeXXeTstate=1
+ \newcommand{\RL}[1]{\beginR #1\endR}
+ \newcommand{\LR}[1]{\beginL #1\endL}
+ \newenvironment{RTL}{\beginR}{\endR}
+ \newenvironment{LTR}{\beginL}{\endL}
\fi
$endif$
-$for(header-includes)$
-$header-includes$
-$endfor$
$if(title)$
\title{$title$}
@@ -139,6 +183,9 @@ $if(author)$
\author{$for(author)$$author$$sep$ \and $endfor$}
$endif$
\date{$date$}
+$for(header-includes)$
+$header-includes$
+$endfor$
\begin{document}
$if(title)$
diff --git a/data/templates/default.context b/data/templates/default.context
index d09ecb40f..1bfc6bc14 100644
--- a/data/templates/default.context
+++ b/data/templates/default.context
@@ -2,8 +2,12 @@
\enableregime[utf-8]
\setupcolors[state=start]
\stopmode
-$if(mainlang)$
-\mainlanguage[$mainlang$]
+$if(context-lang)$
+\mainlanguage[$context-lang$]
+$endif$
+$if(context-dir)$
+\setupalign[$context-dir$]
+\setupdirections[bidi=on,method=two]
$endif$
% Enable hyperlinks
diff --git a/data/templates/default.html b/data/templates/default.html
index 1bbeda47a..aad3ffaea 100644
--- a/data/templates/default.html
+++ b/data/templates/default.html
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$>
+<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
diff --git a/data/templates/default.html5 b/data/templates/default.html5
index 14bff6286..7c8c85235 100644
--- a/data/templates/default.html5
+++ b/data/templates/default.html5
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html$if(lang)$ lang="$lang$"$endif$>
+<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8">
<meta name="generator" content="pandoc">
@@ -12,9 +12,6 @@ $if(date-meta)$
$endif$
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
<style type="text/css">code{white-space: pre;}</style>
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$
@@ -29,6 +26,9 @@ $endfor$
$if(math)$
$math$
$endif$
+ <!--[if lt IE 9]>
+ <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
+ <![endif]-->
$for(header-includes)$
$header-includes$
$endfor$
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 26684135d..0579f304d 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -1,6 +1,6 @@
-\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
+\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
$if(fontfamily)$
-\usepackage{$fontfamily$}
+\usepackage[$fontfamilyoptions$]{$fontfamily$}
$else$
\usepackage{lmodern}
$endif$
@@ -12,7 +12,7 @@ $endif$
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
- \usepackage[T1]{fontenc}
+ \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
\usepackage[utf8]{inputenc}
$if(euro)$
\usepackage{eurosym}
@@ -20,23 +20,22 @@ $endif$
\else % if luatex or xelatex
\ifxetex
\usepackage{mathspec}
- \usepackage{xltxtra,xunicode}
\else
\usepackage{fontspec}
\fi
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\newcommand{\euro}{€}
$if(mainfont)$
- \setmainfont{$mainfont$}
+ \setmainfont[$mainfontoptions$]{$mainfont$}
$endif$
$if(sansfont)$
- \setsansfont{$sansfont$}
+ \setsansfont[$sansfontoptions$]{$sansfont$}
$endif$
$if(monofont)$
- \setmonofont[Mapping=tex-ansi]{$monofont$}
+ \setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$monofontoptions$$endif$]{$monofont$}
$endif$
$if(mathfont)$
- \setmathfont(Digits,Latin,Greek){$mathfont$}
+ \setmathfont(Digits,Latin,Greek)[$mathfontoptions$]{$mathfont$}
$endif$
$if(CJKmainfont)$
\usepackage{xeCJK}
@@ -53,6 +52,8 @@ $endif$
$if(geometry)$
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
$endif$
+\makeatletter
+\@ifpackageloaded{hyperref}{}{%
\ifxetex
\usepackage[setpagesize=false, % page size defined by xetex
unicode=false, % unicode breaks when used with xetex
@@ -60,7 +61,13 @@ $endif$
\else
\usepackage[unicode=true]{hyperref}
\fi
-\usepackage[usenames,dvipsnames]{color}
+}
+\@ifpackageloaded{color}{
+ \PassOptionsToPackage{usenames,dvipsnames}{color}
+}{%
+ \usepackage[usenames,dvipsnames]{color}
+}
+\makeatother
\hypersetup{breaklinks=true,
bookmarks=true,
pdfauthor={$author-meta$},
@@ -69,15 +76,18 @@ $endif$
citecolor=$if(citecolor)$$citecolor$$else$blue$endif$,
urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$,
linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$,
- pdfborder={0 0 0}}
+ pdfborder={0 0 0}
+ $if(hidelinks)$,hidelinks,$endif$}
\urlstyle{same} % don't use monospace font for urls
$if(lang)$
\ifxetex
\usepackage{polyglossia}
- \setmainlanguage{$mainlang$}
- \setotherlanguages{$for(otherlang)$$otherlang$$sep$,$endfor$}
+ \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
+$for(polyglossia-otherlangs)$
+ \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
+$endfor$
\else
- \usepackage[shorthands=off,$lang$]{babel}
+ \usepackage[shorthands=off,$babel-lang$]{babel}
\fi
$endif$
$if(natbib)$
@@ -101,7 +111,7 @@ $highlighting-macros$
$endif$
$if(verbatim-in-note)$
\usepackage{fancyvrb}
-\VerbatimFootnotes
+\VerbatimFootnotes % allows verbatim text in footnotes
$endif$
$if(tables)$
\usepackage{longtable,booktabs}
@@ -126,8 +136,11 @@ $if(strikeout)$
% avoid problems with \sout in headers with hyperref:
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
$endif$
+$if(indent)$
+$else$
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
+$endif$
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
@@ -136,8 +149,22 @@ $if(numbersections)$
$else$
\setcounter{secnumdepth}{0}
$endif$
-$if(verbatim-in-note)$
-\VerbatimFootnotes % allows verbatim text in footnotes
+$if(dir)$
+\ifxetex
+ % load bidi as late as possible as it modifies e.g. graphicx
+ $if(latex-dir-rtl)$
+ \usepackage[RTLdocument]{bidi}
+ $else$
+ \usepackage{bidi}
+ $endif$
+\fi
+\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
+ \TeXXeTstate=1
+ \newcommand{\RL}[1]{\beginR #1\endR}
+ \newcommand{\LR}[1]{\beginL #1\endL}
+ \newenvironment{RTL}{\beginR}{\endR}
+ \newenvironment{LTR}{\beginL}{\endL}
+\fi
$endif$
$if(title)$
@@ -151,6 +178,8 @@ $for(header-includes)$
$header-includes$
$endfor$
+$if(subparagraph)$
+$else$
% Redefines (sub)paragraphs to behave more like sections
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
@@ -160,6 +189,7 @@ $endfor$
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
+$endif$
\begin{document}
$if(title)$
diff --git a/data/templates/default.man b/data/templates/default.man
index 69cb1d8a7..bce3f2444 100644
--- a/data/templates/default.man
+++ b/data/templates/default.man
@@ -1,6 +1,16 @@
$if(has-tables)$
.\"t
$endif$
+.\" Automatically generated by Pandoc $pandoc-version$
+.\"
+$if(adjusting)$
+.ad $adjusting$
+$endif$
+$if(hyphenate)$
+.hy
+$else$
+.nh
+$endif$
.TH "$title$" "$section$" "$date$" "$footer$" "$header$"
$for(header-includes)$
$header-includes$
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index aeac83c4e..f2439b984 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -1,18 +1,18 @@
<!DOCTYPE html>
-<html$if(lang)$ lang="$lang$"$endif$>
+<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8">
<meta name="generator" content="pandoc">
$for(author-meta)$
- <meta name="author" content="$author-meta$" />
+ <meta name="author" content="$author-meta$">
$endfor$
$if(date-meta)$
- <meta name="dcterms.date" content="$date-meta$" />
+ <meta name="dcterms.date" content="$date-meta$">
$endif$
- <title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="$revealjs-url$/css/reveal.css"/>
<style type="text/css">code{white-space: pre;}</style>
$if(highlighting-css)$
@@ -28,15 +28,13 @@ $endif$
$for(css)$
<link rel="stylesheet" href="$css$"/>
$endfor$
- <!-- If the query includes 'print-pdf', include the PDF print sheet -->
+ <!-- Printing and PDF exports -->
<script>
- if( window.location.search.match( /print-pdf/gi ) ) {
- var link = document.createElement( 'link' );
- link.rel = 'stylesheet';
- link.type = 'text/css';
- link.href = '$revealjs-url$/css/print/pdf.css';
- document.getElementsByTagName( 'head' )[0].appendChild( link );
- }
+ var link = document.createElement( 'link' );
+ link.rel = 'stylesheet';
+ link.type = 'text/css';
+ link.href = window.location.search.match( /print-pdf/gi ) ? '$revealjs-url$/css/print/pdf.css' : '$revealjs-url$/css/print/paper.css';
+ document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!--[if lt IE 9]>
<script src="$revealjs-url$/lib/js/html5shiv.js"></script>
@@ -77,32 +75,154 @@ $body$
</div>
</div>
-
<script src="$revealjs-url$/lib/js/head.min.js"></script>
<script src="$revealjs-url$/js/reveal.js"></script>
<script>
- // Full list of configuration options available here:
+ // Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
- controls: true, // Display controls in the bottom right corner
- progress: true, // Display a presentation progress bar
- history: true, // Push each slide change to the browser history
- center: $if(center)$$center$$else$false$endif$, // Vertical centering of slides
- maxScale: $if(maxScale)$$maxScale$$else$1.5$endif$, // Bounds for smallest/largest possible content scale
- slideNumber: $if(slideNumber)$true$else$false$endif$, // Display the page number of the current slide
- theme: $if(theme)$'$theme$'$else$Reveal.getQueryHash().theme$endif$, // available themes are in /css/theme
- transition: $if(transition)$'$transition$'$else$Reveal.getQueryHash().transition || 'default'$endif$, // default/cube/page/concave/zoom/linear/fade/none
+$if(controls)$
+ // Display controls in the bottom right corner
+ controls: $controls$,
+$endif$
+$if(progress)$
+ // Display a presentation progress bar
+ progress: $progress$,
+$endif$
+$if(slideNumber)$
+ // Display the page number of the current slide
+ slideNumber: $slideNumber$,
+$endif$
+$if(history)$
+ // Push each slide change to the browser history
+ history: $history$,
+$endif$
+$if(keyboard)$
+ // Enable keyboard shortcuts for navigation
+ keyboard: $keyboard$,
+$endif$
+$if(overview)$
+ // Enable the slide overview mode
+ overview: $overview$,
+$endif$
+$if(center)$
+ // Vertical centering of slides
+ center: $center$,
+$endif$
+$if(touch)$
+ // Enables touch navigation on devices with touch input
+ touch: $touch$,
+$endif$
+$if(loop)$
+ // Loop the presentation
+ loop: $loop$,
+$endif$
+$if(rtl)$
+ // Change the presentation direction to be RTL
+ rtl: $rtl$,
+$endif$
+$if(fragments)$
+ // Turns fragments on and off globally
+ fragments: $fragments$,
+$endif$
+$if(embedded)$
+ // Flags if the presentation is running in an embedded mode,
+ // i.e. contained within a limited portion of the screen
+ embedded: $embedded$,
+$endif$
+$if(help)$
+ // Flags if we should show a help overlay when the questionmark
+ // key is pressed
+ help: $help$,
+$endif$
+$if(showNotes)$
+ // Flags if speaker notes should be visible to all viewers
+ showNotes: $showNotes$,
+$endif$
+$if(autoSlide)$
+ // Number of milliseconds between automatically proceeding to the
+ // next slide, disabled when set to 0, this value can be overwritten
+ // by using a data-autoslide attribute on your slides
+ autoSlide: $autoSlide$,
+$endif$
+$if(autoSlideStoppable)$
+ // Stop auto-sliding after user input
+ autoSlideStoppable: $autoSlideStoppable$,
+$endif$
+$if(mouseWheel)$
+ // Enable slide navigation via mouse wheel
+ mouseWheel: $mouseWheel$,
+$endif$
+$if(hideAddressBar)$
+ // Hides the address bar on mobile devices
+ hideAddressBar: $hideAddressBar$,
+$endif$
+$if(previewLinks)$
+ // Opens links in an iframe preview overlay
+ previewLinks: $previewLinks$,
+$endif$
+$if(transition)$
+ // Transition style
+ transition: '$transition$', // none/fade/slide/convex/concave/zoom
+$endif$
+$if(transitionSpeed)$
+ // Transition speed
+ transitionSpeed: '$transitionSpeed$', // default/fast/slow
+$endif$
+$if(backgroundTransition)$
+ // Transition style for full page slide backgrounds
+ backgroundTransition: '$backgroundTransition$', // none/fade/slide/convex/concave/zoom
+$endif$
+$if(viewDistance)$
+ // Number of slides away from the current that are visible
+ viewDistance: $viewDistance$,
+$endif$
+$if(parallaxBackgroundImage)$
+ // Parallax background image
+ parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
+$endif$
+$if(parallaxBackgroundSize)$
+ // Parallax background size
+ parallaxBackgroundSize: '$parallaxBackgroundSize$', // CSS syntax, e.g. "2100px 900px"
+$endif$
+$if(parallaxBackgroundHorizontal)$
+ // Amount to move parallax background (horizontal and vertical) on slide change
+ // Number, e.g. 100
+ parallaxBackgroundHorizontal: '$parallaxBackgroundHorizontal$',
+$endif$
+$if(parallaxBackgroundVertical)$
+ parallaxBackgroundVertical: '$parallaxBackgroundVertical$',
+$endif$
+$if(width)$
+ // The "normal" size of the presentation, aspect ratio will be preserved
+ // when the presentation is scaled to fit different resolutions. Can be
+ // specified using percentage units.
+ width: $width$,
+$endif$
+$if(height)$
+ height: $height$,
+$endif$
+$if(margin)$
+ // Factor of the display size that should remain empty around the content
+ margin: $margin$,
+$endif$
+$if(minScale)$
+ // Bounds for smallest/largest possible scale to apply to content
+ minScale: $minScale$,
+$endif$
+$if(maxScale)$
+ maxScale: $maxScale$,
+$endif$
- // Optional libraries used to extend on reveal.js
+ // Optional reveal.js plugins
dependencies: [
{ src: '$revealjs-url$/lib/js/classList.js', condition: function() { return !document.body.classList; } },
- { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
- { src: '$revealjs-url$/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
-// { src: '$revealjs-url$/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; }, }
-// { src: '$revealjs-url$/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
-]});
+ { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true },
+ { src: '$revealjs-url$/plugin/notes/notes.js', async: true }
+ ]
+ });
</script>
$for(include-after)$
$include-after$