@@ -647,8 +647,7 @@ a specified full or relative path (executable or non\-executable)
647.B \f[C]\-M\f[] \f[I]KEY\f[][\f[C]=\f[]\f[I]VAL\f[]], \f[C]\-\-metadata=\f[]\f[I]KEY\f[][\f[C]:\f[]\f[I]VAL\f[]]
647.B \f[C]\-M\f[] \f[I]KEY\f[][\f[C]=\f[]\f[I]VAL\f[]], \f[C]\-\-metadata=\f[]\f[I]KEY\f[][\f[C]:\f[]\f[I]VAL\f[]]
648Set the metadata field \f[I]KEY\f[] to the value \f[I]VAL\f[].
648Set the metadata field \f[I]KEY\f[] to the value \f[I]VAL\f[].
649A value specified on the command line overrides a value specified in the
649A value specified on the command line overrides a value specified in the
650−document using [YAML metadata
650+document using YAML metadata blocks.
651−blocks][Extension:\f[C]yaml_metadata_block\f[]].
652Values will be parsed as YAML boolean or string values.
651Values will be parsed as YAML boolean or string values.
653If no value is specified, the value will be treated as Boolean true.
652If no value is specified, the value will be treated as Boolean true.
654Like \f[C]\-\-variable\f[], \f[C]\-\-metadata\f[] causes template
653Like \f[C]\-\-variable\f[], \f[C]\-\-metadata\f[] causes template
@@ -727,6 +726,8 @@ Produce output with an appropriate header and footer (e.g.
727a standalone HTML, LaTeX, TEI, or RTF file, not a fragment).
726a standalone HTML, LaTeX, TEI, or RTF file, not a fragment).
728This option is set automatically for \f[C]pdf\f[], \f[C]epub\f[],
727This option is set automatically for \f[C]pdf\f[], \f[C]epub\f[],
729\f[C]epub3\f[], \f[C]fb2\f[], \f[C]docx\f[], and \f[C]odt\f[] output.
728\f[C]epub3\f[], \f[C]fb2\f[], \f[C]docx\f[], and \f[C]odt\f[] output.
729+For \f[C]native\f[] output, this option causes metadata to be included;
730+otherwise, metadata is suppressed.
@@ -1413,6 +1414,22 @@ inserted.
1413Note that this option does not imply \f[C]\-\-katex\f[].
1414Note that this option does not imply \f[C]\-\-katex\f[].
1418+.B \f[C]\-\-gladtex\f[]
1419+Enclose TeX math in \f[C]<eq>\f[] tags in HTML output.
1420+The resulting HTML can then be processed by GladTeX to produce images of
1421+the typeset formulas and an HTML file with links to these images.
1422+So, the procedure is:
1427+pandoc\ \-s\ \-\-gladtex\ input.md\ \-o\ myfile.htex
1428+gladtex\ \-d\ myfile\-images\ myfile.htex
1429+#\ produces\ myfile.html\ and\ images\ in\ myfile\-images
1416.SS Options for wrapper scripts
1433.SS Options for wrapper scripts
1418.B \f[C]\-\-dump\-args\f[]
1435.B \f[C]\-\-dump\-args\f[]
@@ -1489,9 +1506,8 @@ arbitrary information at any point in the file.
1489They may be set at the command line using the \f[C]\-V/\-\-variable\f[]
1506They may be set at the command line using the \f[C]\-V/\-\-variable\f[]
1491If a variable is not set, pandoc will look for the key in the
1508If a variable is not set, pandoc will look for the key in the
1492−document\[aq]s metadata \[en] which can be set using either [YAML
1509+document\[aq]s metadata \[en] which can be set using either YAML
1493−metadata blocks][Extension:\f[C]yaml_metadata_block\f[]] or with the
1494−\f[C]\-\-metadata\f[] option.
1510+metadata blocks or with the \f[C]\-\-metadata\f[] option.
1495.SS Variables set by pandoc
1511.SS Variables set by pandoc
1497Some variables are set automatically by pandoc.
1513Some variables are set automatically by pandoc.
@@ -2081,7 +2097,25 @@ $endif$
2083This will include \f[C]X\f[] in the template if \f[C]variable\f[] has a
2099This will include \f[C]X\f[] in the template if \f[C]variable\f[] has a
2084−non\-null value; otherwise it will include \f[C]Y\f[].
2100+truthy value; otherwise it will include \f[C]Y\f[].
2101+Here a truthy value is any of the following:
2103+a string that is not entirely white space,
2105+a non\-empty array where the first value is truthy,
2107+any number (including zero),
2111+the boolean \f[C]true\f[] (to specify the boolean \f[C]true\f[] value
2112+using YAML metadata or the \f[C]\-\-metadata\f[] flag, use \f[C]y\f[],
2113+\f[C]Y\f[], \f[C]yes\f[], \f[C]Yes\f[], \f[C]YES\f[], \f[C]true\f[],
2114+\f[C]True\f[], \f[C]TRUE\f[], \f[C]on\f[], \f[C]On\f[], or \f[C]ON\f[];
2115+with the \f[C]\-\-variable\f[] flag, simply omit a value for the
2117+\f[C]\-\-variable\ draft\f[]).
2085\f[C]X\f[] and \f[C]Y\f[] are placeholders for any valid template text,
2119\f[C]X\f[] and \f[C]Y\f[] are placeholders for any valid template text,
2086and may include interpolated variables or other conditionals.
2120and may include interpolated variables or other conditionals.
2087The \f[C]$else$\f[] section may be omitted.
2121The \f[C]$else$\f[] section may be omitted.