aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-03-21 15:34:09 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-03-21 15:34:09 -0700
commit2649a0d836fa2ca989cabb376d8db978f3d1b546 (patch)
treebabafa5233cd35cce3c047fc922deb9807a05b4d /README
parenta8a2d4f2241118152f245d5dc67a6452606cad71 (diff)
downloadpandoc-2649a0d836fa2ca989cabb376d8db978f3d1b546.tar.gz
Improved documentation of templates.
Note that there's no docx template. Closes #2797.
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 9 insertions, 3 deletions
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