@@ -65,7 +65,7 @@ Markdown can be expected to be lossy.
6565[LaTeX]: http://latex-project.org
6666[`beamer`]: https://ctan.org/pkg/beamer
6767[Beamer User's Guide]: http://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf
68−[ConTeXt]: http://pragma-ade.nl
68+[ConTeXt]: http://contextgarden.net/
6969[RTF]: http://en.wikipedia.org/wiki/Rich_Text_Format
7070[DocBook]: http://docbook.org
7171[txt2tags]: http://txt2tags.org
@@ -189,7 +189,7 @@ be used for [smart punctuation] if added to the template. The
189189optionally be used for [citation rendering]. These are included with
190190all recent versions of [TeX Live].
191191
192−Alternatively, you can ask pandoc to use ConTeXt to create the PDF.
192+Alternatively, pandoc can use ConTeXt to create a PDF.
193193To do this, specify an output file with a `.pdf` extension,
194194as before, but add `-t context` to the command line.
195195
@@ -1009,9 +1009,9 @@ Variables set by pandoc
10091009Some variables are set automatically by pandoc. These vary somewhat
10101010depending on the output format, but include metadata fields as well as the following:
10111011
1012−`title`, `author`, `date`
1012+`title`, `author`, `date`, `subtitle`
10131013: allow identification of basic aspects of the document.
1014− Included in PDF metadata through LaTeX.
1014+ Included in PDF metadata through LaTeX and ConTeXt.
10151015 These can be set through a [pandoc title block][Extension: `pandoc_title_block`],
10161016 which allows for multiple authors, or through a YAML metadata block:
10171017
@@ -1022,7 +1022,7 @@ depending on the output format, but include metadata fields as well as the follo
10221022 ...
10231023
10241024`abstract`
1025−: allows for specification of document summary in LaTeX and Word docx
1025+: allows for specification of document summary in LaTeX, ConTeXt, and Word docx
10261026
10271027`header-includes`
10281028: contents specified by `-H/--include-in-header` (may have multiple
@@ -1031,6 +1031,9 @@ depending on the output format, but include metadata fields as well as the follo
10311031`toc`
10321032: non-null value if `--toc/--table-of-contents` was specified
10331033
1034+`toc-title`
1035+: title of table of contents (works only with EPUB and docx)
1036+
10341037`include-before`
10351038: contents specified by `-B/--include-before-body` (may have
10361039 multiple values)
@@ -1115,25 +1118,25 @@ Variables for LaTeX
11151118LaTeX variables are used when [creating a PDF].
11161119
11171120`fontsize`
1118−: font size (e.g. `10pt`, `12pt`) for LaTeX documents
1121+: font size for body text (e.g. `10pt`, `12pt`)
11191122
11201123`documentclass`
1121−: document class for LaTeX documents, e.g. [`article`], [`report`], [`book`], [`memoir`]
1124+: document class, e.g. [`article`], [`report`], [`book`], [`memoir`]
11221125
11231126`classoption`
1124−: option for LaTeX document class, e.g. `oneside`; may be repeated
1127+: option for document class, e.g. `oneside`; may be repeated
11251128 for multiple options
11261129
11271130`geometry`
1128−: option for LaTeX [`geometry`] package, e.g. `margin=1in`;
1131+: option for [`geometry`] package, e.g. `margin=1in`;
11291132 may be repeated for multiple options
11301133
11311134`linestretch`
1132−: adjusts line spacing in LaTeX documents using the [`setspace`]
1135+: adjusts line spacing using the [`setspace`]
11331136 package, e.g. `1.25`, `1.5`
11341137
11351138`fontfamily`
1136−: font package for LaTeX documents (with `pdflatex`):
1139+: font package for use with `pdflatex`:
11371140 [TeX Live] includes many options, documented in the [LaTeX Font Catalogue].
11381141 The default is [Latin Modern][`lm`].
11391142
@@ -1143,14 +1146,14 @@ LaTeX variables are used when [creating a PDF].
11431146 figures and true small caps
11441147
11451148`mainfont`, `sansfont`, `monofont`, `mathfont`, `CJKmainfont`
1146−: fonts for LaTeX documents (works only with `xelatex` and
1147− `lualatex`): takes the name of any system font, using the
1149+: font families for use with `xelatex` or
1150+ `lualatex`: take the name of any system font, using the
11481151 [`fontspec`] package. Note that if `CJKmainfont` is used,
11491152 the [`xecjk`] package must be available.
11501153
11511154`mainfontoptions`, `sansfontoptions`, `monofontoptions`, `mathfontoptions`, `CJKoptions`
11521155: options to use with `mainfont`, `sansfont`, `monofont`, `mathfont`,
1153− `CJKmainfont` in `xelatex` and `lualatex`. Allows for any choices
1156+ `CJKmainfont` in `xelatex` and `lualatex`. Allow for any choices
11541157 available through [`fontspec`], such as the OpenType features
11551158 `Numbers=OldStyle,Numbers=Proportional`.
11561159
@@ -1160,14 +1163,14 @@ LaTeX variables are used when [creating a PDF].
11601163
11611164`linkcolor`, `toccolor`, `urlcolor`, `citecolor`
11621165: color for internal links, links in table of contents, external links,
1163− and citation links in LaTeX documents, using options available through
1166+ and citation links, using options available through
11641167 [`color`] package, e.g. `red`, `green`, `magenta`, `cyan`, `blue`, `black`
11651168
11661169`hidelinks`
11671170: enables `hidelinks` option for [`hyperref`], disabling link color
11681171
11691172`links-as-notes`
1170−: causes links to be printed as footnotes in LaTeX documents
1173+: causes links to be printed as footnotes
11711174
11721175`indent`
11731176: uses document class settings for indentation (the default LaTeX template
@@ -1178,25 +1181,23 @@ LaTeX variables are used when [creating a PDF].
11781181 as sections, changing the appearance of nested headings in some classes
11791182
11801183`toc`
1181−: include table of contents in LaTeX documents
1184+: include table of contents (can also be set using `--toc/--table-of-contents`)
11821185
11831186`toc-depth`
1184−: level of section to include in table of contents in LaTeX documents
1185−
1186−`toc-title`
1187−: title of table of contents (works only with EPUB and docx)
1187+: level of section to include in table of contents
11881188
1189−`lof`
1190−: include list of figures in LaTeX documents
1189+`lof`, `lot`
1190+: include list of figures, list of tables
11911191
1192−`lot`
1193−: include list of tables in LaTeX documents
1192+`keywords`
1193+: list of keywords to be included in PDF metadata,
1194+ separated by commas or semicolons
11941195
11951196`bibliography`
11961197: bibliography to use for resolving references
11971198
11981199`biblio-style`
1199−: bibliography style in LaTeX, when used with `--natbib`
1200+: bibliography style, when used with `--natbib`
12001201
12011202[`article`]: https://ctan.org/pkg/article
12021203[`report`]: https://ctan.org/pkg/report
@@ -1210,7 +1211,52 @@ Variables for ConTeXt
12101211---------------------
12111212
12121213`papersize`
1213−: paper size (defaults to `letter`)
1214+: paper size, e.g. `letter`, `A4`, `landscape` (see [ConTeXt Paper Setup]);
1215+ may be repeated for multiple options
1216+
1217+`layout`
1218+: options for page margins and text arrangement (see [ConTeXt Layout]);
1219+ may be repeated for multiple options
1220+
1221+`fontsize`
1222+: font size for body text (e.g. `10pt`, `12pt`)
1223+
1224+`mainfont`, `sansfont`, `monofont`, `mathfont`
1225+: font families: take the name of any system font (see [ConTeXt Font Switching])
1226+
1227+`linkcolor`
1228+: color for links, e.g. `red`, `blue` (see [ConTeXt Color])
1229+
1230+`whitespace`
1231+: spacing between paragraphs, e.g. `none`, `small` (using [`setupwhitespace`])
1232+
1233+`interlinespace`
1234+: adjusts line spacing, e.g. `4ex` (using [`setupinterlinespace`])
1235+
1236+`headertext`, `footertext`
1237+: text to be placed in running header or footer (see [ConTeXt Headers and Footers])
1238+
1239+`pagenumbering`
1240+: page number style and location (using [`setuppagenumbering`])
1241+
1242+`toc`
1243+: include table of contents (can also be set using `--toc/--table-of-contents`)
1244+
1245+`lof`, `lot`
1246+: include list of figures, list of tables
1247+
1248+`keywords`
1249+: list of keywords to be included in PDF metadata,
1250+ separated by commas or semicolons
1251+
1252+[ConTeXt Paper Setup]: http://wiki.contextgarden.net/PaperSetup
1253+[ConTeXt Layout]: http://wiki.contextgarden.net/Layout
1254+[ConTeXt Font Switching]: http://wiki.contextgarden.net/Font_Switching
1255+[ConTeXt Color]: http://wiki.contextgarden.net/Color
1256+[ConTeXt Headers and Footers]: http://wiki.contextgarden.net/Headers_and_Footers
1257+[`setupwhitespace`]: http://wiki.contextgarden.net/Command/setupwhitespace
1258+[`setupinterlinespace`]: http://wiki.contextgarden.net/Command/setupinterlinespace
1259+[`setuppagenumbering`]: http://wiki.contextgarden.net/Command/setuppagenumbering
12141260
12151261Variables for man pages
12161262-----------------------