aboutsummaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 21:18:13 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 21:18:13 +0000
commitc882232e94d3880bac452d170d215561e1ac7f74 (patch)
treebee2a6b13e9553e4e6115b1d6af30612ae7eb665 /man/man1
parent445f89b9f20c6ae464baf0a7e8e9437945f4c1db (diff)
downloadpandoc-c882232e94d3880bac452d170d215561e1ac7f74.tar.gz
Fuller discussion of Templates in README and man page.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1756 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/pandoc.1.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/man/man1/pandoc.1.md b/man/man1/pandoc.1.md
index 57bb3e17a..692f502d0 100644
--- a/man/man1/pandoc.1.md
+++ b/man/man1/pandoc.1.md
@@ -245,7 +245,12 @@ document. To see the default template that is used, just type
pandoc --print-default-template=FORMAT
where `FORMAT` is the name of the output format. A custom template
-can be specified using the `--template` option.
+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 `FORMAT.template` in `$HOME/.pandoc/templates`
+(on unix) or
+`C:\Documents And Settings\USERNAME\Application Data\pandoc\templates`
+(on Windows).
Templates may contain *variables*. Variable names are sequences of
alphanumerics, `-`, and `_`, starting with a letter. A variable name
@@ -264,7 +269,8 @@ depending on the output format, but include:
`legacy-header`
: contents specified by `-C/--custom-header`
`header-includes`
-: contents specified by `-H/--include-in-header`
+: contents specified by `-H/--include-in-header` (may have multiple
+ values)
`toc`
: non-null value if `--toc/--table-of-contents` was specified
`body`
@@ -272,7 +278,8 @@ depending on the output format, but include:
`title`
: title of document, as specified in title block
`author`
-: author of document, as specified in title block
+: author of document, as specified in title block (may have
+ multiple values)
`date`
: date of document, as specified in title block