git.iko.soy/typeable/pandoc
on master help sign in
Documented --toc/--table-of-contents option in pandoc man

page and README. git-svn-id: https://pandoc.googlecode.com/svn/trunk@679 788f1e2b-df1e-0410-8736-df70ead52e1b

commit389c762afcee425bb26a940b7dd509d9d10160d4 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateThu 12 Jul 2007, 03:45 (19 years ago) parenta9f894c
2 files changed+10
README+5 man/man1/pandoc.1.md+5
README+5
@@ -267,6 +267,11 @@ specified.)
267267header. To see the headers used by default, use the `-D` option:
268268for example, `pandoc -D html` prints the default HTML header.
269269
270+`--toc` or `--table-of-contents` includes an automatically generated
271+table of contents (or, in the case of `latex` and `rst`, an instruction
272+to create one) in the output document. This option has no effect with
273+`man`, `docbook`, or `s5` output formats.
274+
270275`-c` or `--css` allows the user to specify a custom stylesheet that
271276will be linked to in HTML and S5 output.
272277
man/man1/pandoc.1.md+5
@@ -111,6 +111,11 @@ to Pandoc. Or use `html2markdown`(1), a wrapper around `pandoc`.
111111: Number section headings in LaTeX output. (Default is not to number
112112 them.)
113113
114+\--toc, \--table-of-contents
115+: Include an automatically generated table of contents (HTML, markdown,
116+ RTF) or an instruction to create one (LaTeX, reStructuredText).
117+ This option has no effect on man, DocBook, or S5 output.
118+
114119-c *CSS*, \--css=*CSS*
115120: Link to a CSS style sheet. *CSS* is the pathname of the style sheet.
116121