From 52e03308b83b94b49891a46a43814b13b0043fc2 Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Thu, 22 Oct 2015 14:22:28 -0400 Subject: Update LaTeX/ConTeXt variable usage in README. Accounts for changes in https://github.com/jgm/pandoc-templates/pull/141. --- README | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/README b/README index 9807fbc1c..633f53876 100644 --- a/README +++ b/README @@ -1009,7 +1009,7 @@ Variables set by pandoc Some variables are set automatically by pandoc. These vary somewhat 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. Included in PDF metadata through LaTeX and ConTeXt. 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 ... +`subtitle` +: document subtitle; also used as subject in PDF metadata + `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` : contents specified by `-H/--include-in-header` (may have multiple @@ -1143,7 +1149,7 @@ LaTeX variables are used when [creating a PDF]. `fontfamilyoptions` : options for package used as `fontfamily`: e.g. `osf,sc` with `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` : 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`, `CJKmainfont` in `xelatex` and `lualatex`. Allow for any choices available through [`fontspec`], such as the OpenType features - `Numbers=OldStyle,Numbers=Proportional`. + `Numbers=OldStyle,Numbers=Proportional`. May be repeated for multiple options. `fontenc` : 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` : include list of figures, list of tables -`keywords` -: list of keywords to be included in PDF metadata, - separated by commas or semicolons - `bibliography` : bibliography to use for resolving references @@ -1227,17 +1229,24 @@ Variables for ConTeXt `linkcolor` : 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` : spacing between paragraphs, e.g. `none`, `small` (using [`setupwhitespace`]) `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` -: 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` -: page number style and location (using [`setuppagenumbering`]) +: page number style and location (using [`setuppagenumbering`]); + may be repeated for multiple options `toc` : include table of contents (can also be set using `--toc/--table-of-contents`) @@ -1245,15 +1254,12 @@ Variables for ConTeXt `lof`, `lot` : 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 Layout]: http://wiki.contextgarden.net/Layout [ConTeXt Font Switching]: http://wiki.contextgarden.net/Font_Switching [ConTeXt Color]: http://wiki.contextgarden.net/Color [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 [`setupinterlinespace`]: http://wiki.contextgarden.net/Command/setupinterlinespace [`setuppagenumbering`]: http://wiki.contextgarden.net/Command/setuppagenumbering -- cgit v1.2.3 From 7c20cf11cf5dc3b561d0436222dd1ca793e839ad Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Fri, 23 Oct 2015 09:03:53 -0400 Subject: Note expanded support for abstract, keywords. Based on , . --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 633f53876..2875cc59a 100644 --- a/README +++ b/README @@ -1025,10 +1025,10 @@ depending on the output format, but include metadata fields as well as the follo : document subtitle; also used as subject in PDF metadata `abstract` -: document summary, used in LaTeX, ConTeXt, and Word docx +: document summary, included in LaTeX, ConTeXt, AsciiDoc, and Word docx `keywords` -: list of keywords to be included in PDF metadata; may be repeated as for `author`, above +: list of keywords to be included in HTML, PDF, and AsciiDoc metadata; may be repeated as for `author`, above `header-includes` : contents specified by `-H/--include-in-header` (may have multiple -- cgit v1.2.3