@@ -273,9 +273,8 @@ For further documentation, see the `pandoc(1)` man page.
273273 LaTeX *commands*, even if `-R` is not specified.)
274274
275275`-C` or `--custom-header` *filename*
276−: can be used to specify a custom document header. To see the headers
277− used by default, use the `-D` option: for example, `pandoc -D html`
278− prints the default HTML header. Implies `--standalone`.
276+: can be used to specify a custom document header. Implies `--standalone`.
277+ *Note: this option is deprecated. Use of `--template` is preferred.*
279278
280279`--toc` or `--table-of-contents`
281280: 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
479478add header and footer material that is needed for a self-standing
480479document. To see the default template that is used, just type
481480
482− pandoc --print-default-template=FORMAT
481+ pandoc -D FORMAT
483482
484483where `FORMAT` is the name of the output format. A custom template
485484can be specified using the `--template` option. You can also override
@@ -532,7 +531,7 @@ templates.
532531Templates may contain conditionals. The syntax is as follows:
533532
534533 $if(variable)$
535− X
534+ X
536535 $else$
537536 Y
538537 $endif$
@@ -1173,22 +1172,6 @@ LaTeX, not as markdown.
11731172Inline LaTeX is ignored in output formats other than Markdown, LaTeX,
11741173and ConTeXt.
11751174
1176−Custom headers
1177−==============
1178−
1179−When run with the "standalone" option (`-s`), `pandoc` creates a
1180−standalone file, complete with an appropriate header. To see the
1181−default headers used for html and latex, use the following commands:
1182−
1183− pandoc -D html
1184−
1185− pandoc -D latex
1186−
1187−If you want to use a different header, just create a file containing
1188−it and specify it on the command line as follows:
1189−
1190− pandoc --custom-header=MyHeaderFile
1191−
11921175Producing S5 with Pandoc
11931176========================
11941177