From 053ba29883d7c85b8edf874e4fae733f96913900 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 4 Mar 2012 19:31:40 -0800 Subject: Better instructions for modifying templates for pdf, odt, epub output. Thanks to rwst. Closes #347. --- README | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README b/README index a4c61eb95..23fde19c2 100644 --- a/README +++ b/README @@ -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 -- cgit v1.2.3