git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #2451 from adunning/patch-1

Update slides variables in README.

commit4d677e094c83474b6a1cc7189c8c84753ff9512c authorJohn MacFarlane <jgm@berkeley.edu> dateWed 14 Oct 2015, 20:44 (11 years ago) parentb8bdfdaf472515
1 file changed+13−27
README+13−27
README+13−27
@@ -1077,6 +1077,9 @@ Language variables
10771077Variables for slides
10781078--------------------
10791079
1080+Variables are available for [producing slide shows with pandoc],
1081+including all [reveal.js configuration options].
1082+
10801083`slidy-url`
10811084: base URL for Slidy documents (defaults to
10821085 `http://www.w3.org/Talks/Tools/Slidy2`)
@@ -1090,33 +1093,16 @@ Variables for slides
10901093`revealjs-url`
10911094: base URL for reveal.js documents (defaults to `reveal.js`)
10921095
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`
11151097: themes for LaTeX [`beamer`] documents
11161098
1099+[reveal.js configuration options]: https://github.com/hakimel/reveal.js#configuration
1100+
11171101Variables for LaTeX
11181102-------------------
11191103
1104+LaTeX variables are used when [creating a PDF].
1105+
11201106`fontsize`
11211107: font size (e.g. `10pt`, `12pt`) for LaTeX documents
11221108
@@ -3284,7 +3270,7 @@ For Slidy, Slideous, reveal.js, and S5, the file produced by pandoc with the
32843270assumed to be available at the relative path `s5/default` (for S5), `slideous`
32853271(for Slideous), `reveal.js` (for reveal.js), or at the Slidy website at
32863272`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],
32883274above.) For DZSlides, the (relatively short) javascript and css are included in
32893275the file by default.
32903276
@@ -3381,15 +3367,15 @@ files it does not find in the user data directory.
33813367For dzslides, the CSS is included in the HTML file itself, and may
33823368be modified there.
33833369
3384−For reveal.js, themes can be used by setting the `theme` variable,
3385−for example:
3370+All [reveal.js configuration options] can be set through variables.
3371+For example, themes can be used by setting the `theme` variable:
33863372
33873373 -V theme=moon
33883374
33893375Or you can specify a custom stylesheet using the `--css` option.
33903376
3391−To style beamer slides, you can specify a beamer "theme" or "colortheme"
3392−using the `-V` option:
3377+To style beamer slides, you can specify a `theme`, `colortheme`,
3378+`fonttheme`, `innertheme`, and `outertheme`, using the `-V` option:
33933379
33943380 pandoc -t beamer habits.txt -V theme:Warsaw -o habits.pdf
33953381