git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #2451 from adunning/patch-1
4d677e0John MacFarlane
README+13−27
@@ -1077,6 +1077,9 @@ Language variables
1077Variables for slides
1077Variables for slides
1078--------------------
1078--------------------
1079
1079
1080+Variables are available for [producing slide shows with pandoc],
1081+including all [reveal.js configuration options].
1082+
1080`slidy-url`
1083`slidy-url`
1081: base URL for Slidy documents (defaults to
1084: base URL for Slidy documents (defaults to
1082 `http://www.w3.org/Talks/Tools/Slidy2`)
1085 `http://www.w3.org/Talks/Tools/Slidy2`)
@@ -1090,33 +1093,16 @@ Variables for slides
1090`revealjs-url`
1093`revealjs-url`
1091: base URL for reveal.js documents (defaults to `reveal.js`)
1094: base URL for reveal.js documents (defaults to `reveal.js`)
1092
1095
1093−`theme`
1094−: reveal.js or LaTeX beamer theme
1095−
1096−`transition`
1097−: reveal.js transition: `cube`, `page`, `concave`, `zoom`, `linear`, `fade`, or `none`
1098−
1099−`center`
1100−: enables vertical centering of slides in reveal.js if set to `true`
1101−
1102−`maxScale`
1103−: bounds for smallest/largest possible content scale in reveal.js (default: 1.5)
1104−
1105−`slideNumber`
1106−: enables display of the page number of the current slide in reveal.js
1107−
1108−`controls`
1109−: disables controls in reveal.js slide shows if set to `false`
1110−
1111−`progress`
1112−: disables progress bar in reveal.js slide shows if set to `false`
1113−
1114−`colortheme`, `fonttheme`, `innertheme`, `outertheme`
1096+`theme`, `colortheme`, `fonttheme`, `innertheme`, `outertheme`
1115: themes for LaTeX [`beamer`] documents
1097: themes for LaTeX [`beamer`] documents
1116
1098
1099+[reveal.js configuration options]: https://github.com/hakimel/reveal.js#configuration
1100+
1117Variables for LaTeX
1101Variables for LaTeX
1118-------------------
1102-------------------
1119
1103
1104+LaTeX variables are used when [creating a PDF].
1105+
1120`fontsize`
1106`fontsize`
1121: font size (e.g. `10pt`, `12pt`) for LaTeX documents
1107: font size (e.g. `10pt`, `12pt`) for LaTeX documents
1122
1108
@@ -3284,7 +3270,7 @@ For Slidy, Slideous, reveal.js, and S5, the file produced by pandoc with the
3284assumed to be available at the relative path `s5/default` (for S5), `slideous`
3270assumed to be available at the relative path `s5/default` (for S5), `slideous`
3285(for Slideous), `reveal.js` (for reveal.js), or at the Slidy website at
3271(for Slideous), `reveal.js` (for reveal.js), or at the Slidy website at
3286`w3.org` (for Slidy). (These paths can be changed by setting the `slidy-url`,
3272`w3.org` (for Slidy). (These paths can be changed by setting the `slidy-url`,
3287−`slideous-url`, `revealjs-url`, or `s5-url` variables; see `--variable`,
3273+`slideous-url`, `revealjs-url`, or `s5-url` variables; see [Variables for slides],
3288above.) For DZSlides, the (relatively short) javascript and css are included in
3274above.) For DZSlides, the (relatively short) javascript and css are included in
3289the file by default.
3275the file by default.
3290
3276
@@ -3381,15 +3367,15 @@ files it does not find in the user data directory.
3381For dzslides, the CSS is included in the HTML file itself, and may
3367For dzslides, the CSS is included in the HTML file itself, and may
3382be modified there.
3368be modified there.
3383
3369
3370+All [reveal.js configuration options] can be set through variables.
3384−For reveal.js, themes can be used by setting the `theme` variable,
3371+For example, themes can be used by setting the `theme` variable:
3385−for example:
3386
3372
3387 -V theme=moon
3373 -V theme=moon
3388
3374
3389Or you can specify a custom stylesheet using the `--css` option.
3375Or you can specify a custom stylesheet using the `--css` option.
3390
3376
3391−To style beamer slides, you can specify a beamer "theme" or "colortheme"
3377+To style beamer slides, you can specify a `theme`, `colortheme`,
3392−using the `-V` option:
3378+`fonttheme`, `innertheme`, and `outertheme`, using the `-V` option:
3393
3379
3394 pandoc -t beamer habits.txt -V theme:Warsaw -o habits.pdf
3380 pandoc -t beamer habits.txt -V theme:Warsaw -o habits.pdf
3395
3381