From c882232e94d3880bac452d170d215561e1ac7f74 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Thu, 31 Dec 2009 21:18:13 +0000 Subject: Fuller discussion of Templates in README and man page. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1756 788f1e2b-df1e-0410-8736-df70ead52e1b --- man/man1/pandoc.1.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'man/man1/pandoc.1.md') 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 -- cgit v1.2.3