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

Update LaTeX/ConTeXt variable usage in README.

commitda056191182777c4e4e951d3aae49c6428677fc7 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 4 Nov 2015, 15:58 (11 years ago) parent411a2537c20cf1
1 file changed+21−15
README+21−15
README+21−15
@@ -1007,7 +1007,7 @@ Variables set by pandoc
10071007Some variables are set automatically by pandoc. These vary somewhat
10081008depending on the output format, but include metadata fields as well as the following:
10091009
1010−`title`, `author`, `date`, `subtitle`
1010+`title`, `author`, `date`
10111011: allow identification of basic aspects of the document.
10121012 Included in PDF metadata through LaTeX and ConTeXt.
10131013 These can be set through a [pandoc title block][Extension: `pandoc_title_block`],
@@ -1019,8 +1019,14 @@ depending on the output format, but include metadata fields as well as the follo
10191019 - Peter Abelard
10201020 ...
10211021
1022+`subtitle`
1023+: document subtitle; also used as subject in PDF metadata
1024+
10221025`abstract`
1023−: allows for specification of document summary in LaTeX, ConTeXt, and Word docx
1026+: document summary, included in LaTeX, ConTeXt, AsciiDoc, and Word docx
1027+
1028+`keywords`
1029+: list of keywords to be included in HTML, PDF, and AsciiDoc metadata; may be repeated as for `author`, above
10241030
10251031`header-includes`
10261032: contents specified by `-H/--include-in-header` (may have multiple
@@ -1141,7 +1147,7 @@ LaTeX variables are used when [creating a PDF].
11411147`fontfamilyoptions`
11421148: options for package used as `fontfamily`: e.g. `osf,sc` with
11431149 `fontfamily` set to [`mathpazo`] provides Palatino with old-style
1144− figures and true small caps
1150+ figures and true small caps; may be repeated for multiple options
11451151
11461152`mainfont`, `sansfont`, `monofont`, `mathfont`, `CJKmainfont`
11471153: font families for use with `xelatex` or
@@ -1153,7 +1159,7 @@ LaTeX variables are used when [creating a PDF].
11531159: options to use with `mainfont`, `sansfont`, `monofont`, `mathfont`,
11541160 `CJKmainfont` in `xelatex` and `lualatex`. Allow for any choices
11551161 available through [`fontspec`], such as the OpenType features
1156− `Numbers=OldStyle,Numbers=Proportional`.
1162+ `Numbers=OldStyle,Numbers=Proportional`. May be repeated for multiple options.
11571163
11581164`fontenc`
11591165: allows font encoding to be specified through `fontenc` package (with `pdflatex`);
@@ -1187,10 +1193,6 @@ LaTeX variables are used when [creating a PDF].
11871193`lof`, `lot`
11881194: include list of figures, list of tables
11891195
1190−`keywords`
1191−: list of keywords to be included in PDF metadata,
1192− separated by commas or semicolons
1193−
11941196`bibliography`
11951197: bibliography to use for resolving references
11961198
@@ -1225,17 +1227,24 @@ Variables for ConTeXt
12251227`linkcolor`
12261228: color for links, e.g. `red`, `blue` (see [ConTeXt Color])
12271229
1230+`indenting`
1231+: controls indentation of paragraphs, e.g. `yes,small,next` (see [ConTeXt Indentation]);
1232+ may be repeated for multiple options
1233+
12281234`whitespace`
12291235: spacing between paragraphs, e.g. `none`, `small` (using [`setupwhitespace`])
12301236
12311237`interlinespace`
1232−: adjusts line spacing, e.g. `4ex` (using [`setupinterlinespace`])
1238+: adjusts line spacing, e.g. `4ex` (using [`setupinterlinespace`]);
1239+ may be repeated for multiple options
12331240
12341241`headertext`, `footertext`
1235−: text to be placed in running header or footer (see [ConTeXt Headers and Footers])
1242+: text to be placed in running header or footer (see [ConTeXt Headers and Footers]);
1243+ may be repeated up to four times for different placement
12361244
12371245`pagenumbering`
1238−: page number style and location (using [`setuppagenumbering`])
1246+: page number style and location (using [`setuppagenumbering`]);
1247+ may be repeated for multiple options
12391248
12401249`toc`
12411250: include table of contents (can also be set using `--toc/--table-of-contents`)
@@ -1243,15 +1252,12 @@ Variables for ConTeXt
12431252`lof`, `lot`
12441253: include list of figures, list of tables
12451254
1246−`keywords`
1247−: list of keywords to be included in PDF metadata,
1248− separated by commas or semicolons
1249−
12501255[ConTeXt Paper Setup]: http://wiki.contextgarden.net/PaperSetup
12511256[ConTeXt Layout]: http://wiki.contextgarden.net/Layout
12521257[ConTeXt Font Switching]: http://wiki.contextgarden.net/Font_Switching
12531258[ConTeXt Color]: http://wiki.contextgarden.net/Color
12541259[ConTeXt Headers and Footers]: http://wiki.contextgarden.net/Headers_and_Footers
1260+[ConTeXt Indentation]: http://wiki.contextgarden.net/Indentation
12551261[`setupwhitespace`]: http://wiki.contextgarden.net/Command/setupwhitespace
12561262[`setupinterlinespace`]: http://wiki.contextgarden.net/Command/setupinterlinespace
12571263[`setuppagenumbering`]: http://wiki.contextgarden.net/Command/setuppagenumbering