diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-03-04 19:31:40 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-03-04 19:31:40 -0800 |
commit | 053ba29883d7c85b8edf874e4fae733f96913900 (patch) | |
tree | 8bbb0ba451a12b42324de92ff84b98abb3776644 | |
parent | 0b4c04f10508b3844ecc3ef66973080a13c853c7 (diff) | |
download | pandoc-053ba29883d7c85b8edf874e4fae733f96913900.tar.gz |
Better instructions for modifying templates for pdf, odt, epub output.
Thanks to rwst. Closes #347.
-rw-r--r-- | README | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -625,7 +625,11 @@ 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). +directory (see `--data-dir`, above). *Exceptions:* For `odt` output, +customize the `default.opendocument` template. For `pdf` output, +customize the `default.latex` template. For `epub` output, customize +the `epub-page.html`, `epub-coverimage.html`, and `epub-titlepage.html` +templates. Templates may contain *variables*. Variable names are sequences of alphanumerics, `-`, and `_`, starting with a letter. A variable name |