aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-03-04 19:31:40 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-03-04 19:31:40 -0800
commit053ba29883d7c85b8edf874e4fae733f96913900 (patch)
tree8bbb0ba451a12b42324de92ff84b98abb3776644
parent0b4c04f10508b3844ecc3ef66973080a13c853c7 (diff)
downloadpandoc-053ba29883d7c85b8edf874e4fae733f96913900.tar.gz
Better instructions for modifying templates for pdf, odt, epub output.
Thanks to rwst. Closes #347.
-rw-r--r--README6
1 files changed, 5 insertions, 1 deletions
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