From 2649a0d836fa2ca989cabb376d8db978f3d1b546 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 21 Mar 2016 15:34:09 -0700 Subject: Improved documentation of templates. Note that there's no docx template. Closes #2797. --- README | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index 7e86bb045..9aaa561bb 100644 --- a/README +++ b/README @@ -1005,9 +1005,15 @@ where *FORMAT* is the name of the output format. A custom template can be specified using the `--template` option. You can also override the system default templates for a given output format *FORMAT* by putting a file `templates/default.*FORMAT*` in the user data -directory (see `--data-dir`, above). *Exceptions:* For `odt` output, -customize the `default.opendocument` template. For `pdf` output, -customize the `default.latex` template. +directory (see `--data-dir`, above). *Exceptions:* + +- For `odt` output, customize the `default.opendocument` + template. +- For `pdf` output, customize the `default.latex` template + (or the `default.beamer` template, if you use `-t beamer`, + or the `default.context` template, if you use `-t context`). +- `docx` has no template (however, you can use + `--reference-docx` to customize the output). Templates contain *variables*, which allow for the inclusion of arbitrary information at any point in the file. Variables may be set -- cgit v1.2.3