diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-03-21 15:34:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-03-21 15:34:09 -0700 |
commit | 2649a0d836fa2ca989cabb376d8db978f3d1b546 (patch) | |
tree | babafa5233cd35cce3c047fc922deb9807a05b4d | |
parent | a8a2d4f2241118152f245d5dc67a6452606cad71 (diff) | |
download | pandoc-2649a0d836fa2ca989cabb376d8db978f3d1b546.tar.gz |
Improved documentation of templates.
Note that there's no docx template.
Closes #2797.
-rw-r--r-- | README | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 |