git.iko.soy/typeable/pandoc
on master help sign in
Better instructions for modifying templates for pdf, odt, epub output.

Thanks to rwst. Closes #347.

commit053ba29883d7c85b8edf874e4fae733f96913900 authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 4 Mar 2012, 19:31 (15 years ago) parent0b4c04f
1 file changed+5−1
README+5−1
README+5−1
@@ -625,7 +625,11 @@ where `FORMAT` is the name of the output format. A custom template
625625can be specified using the `--template` option. You can also override
626626the system default templates for a given output format `FORMAT`
627627by putting a file `templates/default.FORMAT` in the user data
628−directory (see `--data-dir`, above).
628+directory (see `--data-dir`, above). *Exceptions:* For `odt` output,
629+customize the `default.opendocument` template. For `pdf` output,
630+customize the `default.latex` template. For `epub` output, customize
631+the `epub-page.html`, `epub-coverimage.html`, and `epub-titlepage.html`
632+templates.
629633
630634Templates may contain *variables*. Variable names are sequences of
631635alphanumerics, `-`, and `_`, starting with a letter. A variable name