diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:10:26 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:10:26 +0000 |
commit | b771051432be70015079ad7e5cb36afa6b6939bf (patch) | |
tree | d0a086c8d93d7466ce68784a684fd1938211521d /man/man1 | |
parent | 9f126c15cf4d0f6c2ab14167e11336d4f5f8783e (diff) | |
download | pandoc-b771051432be70015079ad7e5cb36afa6b6939bf.tar.gz |
Added -V/--variable option to set custom template variables.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1685 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/markdown2pdf.1.md | 7 | ||||
-rw-r--r-- | man/man1/pandoc.1.md | 13 |
2 files changed, 17 insertions, 3 deletions
diff --git a/man/man1/markdown2pdf.1.md b/man/man1/markdown2pdf.1.md index 66db76f4c..a16626338 100644 --- a/man/man1/markdown2pdf.1.md +++ b/man/man1/markdown2pdf.1.md @@ -54,6 +54,13 @@ The following options are most relevant: `-s`. See the section TEMPLATES in `pandoc`(1) for information about template syntax. +-V KEY=VAL, \--variable=*KEY:VAL* +: Set the template variable KEY to the value VAL when rendering the + document in standalone mode. This is only useful when the + `--template` option is used to specify a custom template, since + pandoc automatically sets the variables used in the default + templates. + -H *FILE*, \--include-in-header=*FILE* : Include (LaTeX) contents of *FILE* at the end of the header. Implies `-s`. diff --git a/man/man1/pandoc.1.md b/man/man1/pandoc.1.md index 65e64d0ac..d8209d2c1 100644 --- a/man/man1/pandoc.1.md +++ b/man/man1/pandoc.1.md @@ -175,6 +175,13 @@ to Pandoc. Or use `html2markdown`(1), a wrapper around `pandoc`. this option is not used, a default template appropriate for the output format will be used. See also `-D/--print-default-template`. +-V KEY=VAL, \--variable=*KEY:VAL* +: Set the template variable KEY to the value VAL when rendering the + document in standalone mode. This is only useful when the + `--template` option is used to specify a custom template, since + pandoc automatically sets the variables used in the default + templates. + -c *CSS*, \--css=*CSS* : Link to a CSS style sheet. *CSS* is the pathname of the style sheet. @@ -270,9 +277,9 @@ depending on the output format, but include: `css` : links to CSS files, as specified using `-c/--css` -Variables may be set at the command line using the -`--set` option. This allows users to include custom variables in -their templates. +Variables may be set at the command line using the `-V/--variable` +option. This allows users to include custom variables in their +templates. Templates may contain conditionals. The syntax is as follows: |