Update LaTeX/ConTeXt variable usage in README.
Accounts for changes in https://github.com/jgm/pandoc-templates/pull/141.
This commit is contained in:
parent
652b60f141
commit
52e03308b8
1 changed files with 21 additions and 15 deletions
36
README
36
README
|
@ -1009,7 +1009,7 @@ Variables set by pandoc
|
||||||
Some variables are set automatically by pandoc. These vary somewhat
|
Some variables are set automatically by pandoc. These vary somewhat
|
||||||
depending on the output format, but include metadata fields as well as the following:
|
depending on the output format, but include metadata fields as well as the following:
|
||||||
|
|
||||||
`title`, `author`, `date`, `subtitle`
|
`title`, `author`, `date`
|
||||||
: allow identification of basic aspects of the document.
|
: allow identification of basic aspects of the document.
|
||||||
Included in PDF metadata through LaTeX and ConTeXt.
|
Included in PDF metadata through LaTeX and ConTeXt.
|
||||||
These can be set through a [pandoc title block][Extension: `pandoc_title_block`],
|
These can be set through a [pandoc title block][Extension: `pandoc_title_block`],
|
||||||
|
@ -1021,8 +1021,14 @@ depending on the output format, but include metadata fields as well as the follo
|
||||||
- Peter Abelard
|
- Peter Abelard
|
||||||
...
|
...
|
||||||
|
|
||||||
|
`subtitle`
|
||||||
|
: document subtitle; also used as subject in PDF metadata
|
||||||
|
|
||||||
`abstract`
|
`abstract`
|
||||||
: allows for specification of document summary in LaTeX, ConTeXt, and Word docx
|
: document summary, used in LaTeX, ConTeXt, and Word docx
|
||||||
|
|
||||||
|
`keywords`
|
||||||
|
: list of keywords to be included in PDF metadata; may be repeated as for `author`, above
|
||||||
|
|
||||||
`header-includes`
|
`header-includes`
|
||||||
: contents specified by `-H/--include-in-header` (may have multiple
|
: contents specified by `-H/--include-in-header` (may have multiple
|
||||||
|
@ -1143,7 +1149,7 @@ LaTeX variables are used when [creating a PDF].
|
||||||
`fontfamilyoptions`
|
`fontfamilyoptions`
|
||||||
: options for package used as `fontfamily`: e.g. `osf,sc` with
|
: options for package used as `fontfamily`: e.g. `osf,sc` with
|
||||||
`fontfamily` set to [`mathpazo`] provides Palatino with old-style
|
`fontfamily` set to [`mathpazo`] provides Palatino with old-style
|
||||||
figures and true small caps
|
figures and true small caps; may be repeated for multiple options
|
||||||
|
|
||||||
`mainfont`, `sansfont`, `monofont`, `mathfont`, `CJKmainfont`
|
`mainfont`, `sansfont`, `monofont`, `mathfont`, `CJKmainfont`
|
||||||
: font families for use with `xelatex` or
|
: font families for use with `xelatex` or
|
||||||
|
@ -1155,7 +1161,7 @@ LaTeX variables are used when [creating a PDF].
|
||||||
: options to use with `mainfont`, `sansfont`, `monofont`, `mathfont`,
|
: options to use with `mainfont`, `sansfont`, `monofont`, `mathfont`,
|
||||||
`CJKmainfont` in `xelatex` and `lualatex`. Allow for any choices
|
`CJKmainfont` in `xelatex` and `lualatex`. Allow for any choices
|
||||||
available through [`fontspec`], such as the OpenType features
|
available through [`fontspec`], such as the OpenType features
|
||||||
`Numbers=OldStyle,Numbers=Proportional`.
|
`Numbers=OldStyle,Numbers=Proportional`. May be repeated for multiple options.
|
||||||
|
|
||||||
`fontenc`
|
`fontenc`
|
||||||
: allows font encoding to be specified through `fontenc` package (with `pdflatex`);
|
: allows font encoding to be specified through `fontenc` package (with `pdflatex`);
|
||||||
|
@ -1189,10 +1195,6 @@ LaTeX variables are used when [creating a PDF].
|
||||||
`lof`, `lot`
|
`lof`, `lot`
|
||||||
: include list of figures, list of tables
|
: include list of figures, list of tables
|
||||||
|
|
||||||
`keywords`
|
|
||||||
: list of keywords to be included in PDF metadata,
|
|
||||||
separated by commas or semicolons
|
|
||||||
|
|
||||||
`bibliography`
|
`bibliography`
|
||||||
: bibliography to use for resolving references
|
: bibliography to use for resolving references
|
||||||
|
|
||||||
|
@ -1227,17 +1229,24 @@ Variables for ConTeXt
|
||||||
`linkcolor`
|
`linkcolor`
|
||||||
: color for links, e.g. `red`, `blue` (see [ConTeXt Color])
|
: color for links, e.g. `red`, `blue` (see [ConTeXt Color])
|
||||||
|
|
||||||
|
`indenting`
|
||||||
|
: controls indentation of paragraphs, e.g. `yes,small,next` (see [ConTeXt Indentation]);
|
||||||
|
may be repeated for multiple options
|
||||||
|
|
||||||
`whitespace`
|
`whitespace`
|
||||||
: spacing between paragraphs, e.g. `none`, `small` (using [`setupwhitespace`])
|
: spacing between paragraphs, e.g. `none`, `small` (using [`setupwhitespace`])
|
||||||
|
|
||||||
`interlinespace`
|
`interlinespace`
|
||||||
: adjusts line spacing, e.g. `4ex` (using [`setupinterlinespace`])
|
: adjusts line spacing, e.g. `4ex` (using [`setupinterlinespace`]);
|
||||||
|
may be repeated for multiple options
|
||||||
|
|
||||||
`headertext`, `footertext`
|
`headertext`, `footertext`
|
||||||
: text to be placed in running header or footer (see [ConTeXt Headers and Footers])
|
: text to be placed in running header or footer (see [ConTeXt Headers and Footers]);
|
||||||
|
may be repeated up to four times for different placement
|
||||||
|
|
||||||
`pagenumbering`
|
`pagenumbering`
|
||||||
: page number style and location (using [`setuppagenumbering`])
|
: page number style and location (using [`setuppagenumbering`]);
|
||||||
|
may be repeated for multiple options
|
||||||
|
|
||||||
`toc`
|
`toc`
|
||||||
: include table of contents (can also be set using `--toc/--table-of-contents`)
|
: include table of contents (can also be set using `--toc/--table-of-contents`)
|
||||||
|
@ -1245,15 +1254,12 @@ Variables for ConTeXt
|
||||||
`lof`, `lot`
|
`lof`, `lot`
|
||||||
: include list of figures, list of tables
|
: include list of figures, list of tables
|
||||||
|
|
||||||
`keywords`
|
|
||||||
: list of keywords to be included in PDF metadata,
|
|
||||||
separated by commas or semicolons
|
|
||||||
|
|
||||||
[ConTeXt Paper Setup]: http://wiki.contextgarden.net/PaperSetup
|
[ConTeXt Paper Setup]: http://wiki.contextgarden.net/PaperSetup
|
||||||
[ConTeXt Layout]: http://wiki.contextgarden.net/Layout
|
[ConTeXt Layout]: http://wiki.contextgarden.net/Layout
|
||||||
[ConTeXt Font Switching]: http://wiki.contextgarden.net/Font_Switching
|
[ConTeXt Font Switching]: http://wiki.contextgarden.net/Font_Switching
|
||||||
[ConTeXt Color]: http://wiki.contextgarden.net/Color
|
[ConTeXt Color]: http://wiki.contextgarden.net/Color
|
||||||
[ConTeXt Headers and Footers]: http://wiki.contextgarden.net/Headers_and_Footers
|
[ConTeXt Headers and Footers]: http://wiki.contextgarden.net/Headers_and_Footers
|
||||||
|
[ConTeXt Indentation]: http://wiki.contextgarden.net/Indentation
|
||||||
[`setupwhitespace`]: http://wiki.contextgarden.net/Command/setupwhitespace
|
[`setupwhitespace`]: http://wiki.contextgarden.net/Command/setupwhitespace
|
||||||
[`setupinterlinespace`]: http://wiki.contextgarden.net/Command/setupinterlinespace
|
[`setupinterlinespace`]: http://wiki.contextgarden.net/Command/setupinterlinespace
|
||||||
[`setuppagenumbering`]: http://wiki.contextgarden.net/Command/setuppagenumbering
|
[`setuppagenumbering`]: http://wiki.contextgarden.net/Command/setuppagenumbering
|
||||||
|
|
Loading…
Add table
Reference in a new issue