Better instructions for modifying templates for pdf, odt, epub output.

Thanks to rwst.  Closes #347.
This commit is contained in:
John MacFarlane 2012-03-04 19:31:40 -08:00
parent 0b4c04f105
commit 053ba29883

6
README
View file

@ -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