diff options
| author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-01-10 02:40:08 +0000 |
|---|---|---|
| committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-01-10 02:40:08 +0000 |
| commit | 96e0995258c94ebb0fc4780f6fc7b15275846ed4 (patch) | |
| tree | cbacea1d406596ca13d2c7c57044fd63188670f6 /README | |
| parent | 2a4e5f9daa41eb726a66fc6bd94eea945bca9e24 (diff) | |
| download | pandoc-96e0995258c94ebb0fc4780f6fc7b15275846ed4.tar.gz | |
Deprecated --custom-header in documentation.
Removed old "Custom Headers" section in README.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1800 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'README')
| -rw-r--r-- | README | 25 |
1 files changed, 4 insertions, 21 deletions
@@ -273,9 +273,8 @@ For further documentation, see the `pandoc(1)` man page. LaTeX *commands*, even if `-R` is not specified.) `-C` or `--custom-header` *filename* -: can be used to specify a custom document header. To see the headers - used by default, use the `-D` option: for example, `pandoc -D html` - prints the default HTML header. Implies `--standalone`. +: can be used to specify a custom document header. Implies `--standalone`. + *Note: this option is deprecated. Use of `--template` is preferred.* `--toc` or `--table-of-contents` : includes an automatically generated table of contents (or, in the @@ -479,7 +478,7 @@ When the `-s/--standalone` option is used, pandoc uses a template to add header and footer material that is needed for a self-standing document. To see the default template that is used, just type - pandoc --print-default-template=FORMAT + pandoc -D FORMAT where `FORMAT` is the name of the output format. A custom template can be specified using the `--template` option. You can also override @@ -532,7 +531,7 @@ templates. Templates may contain conditionals. The syntax is as follows: $if(variable)$ - X + X $else$ Y $endif$ @@ -1173,22 +1172,6 @@ LaTeX, not as markdown. Inline LaTeX is ignored in output formats other than Markdown, LaTeX, and ConTeXt. -Custom headers -============== - -When run with the "standalone" option (`-s`), `pandoc` creates a -standalone file, complete with an appropriate header. To see the -default headers used for html and latex, use the following commands: - - pandoc -D html - - pandoc -D latex - -If you want to use a different header, just create a file containing -it and specify it on the command line as follows: - - pandoc --custom-header=MyHeaderFile - Producing S5 with Pandoc ======================== |
