git.iko.soy/typeable/pandoc
on master help sign in
Documented DocBook input format in README.
5adda47John MacFarlane
README+11−10
@@ -13,12 +13,13 @@ Description
13Pandoc is a [Haskell] library for converting from one markup format to
13Pandoc is a [Haskell] library for converting from one markup format to
14another, and a command-line tool that uses this library. It can read
14another, and a command-line tool that uses this library. It can read
15[markdown] and (subsets of) [Textile], [reStructuredText], [HTML],
15[markdown] and (subsets of) [Textile], [reStructuredText], [HTML],
16−and [LaTeX]; and it can write plain text, [markdown], [reStructuredText],
16+[LaTeX], and [DocBook XML]; and it can write plain text, [markdown],
17−[XHTML], [HTML 5], [LaTeX] (including [beamer] slide shows),
17+[reStructuredText], [XHTML], [HTML 5], [LaTeX] (including [beamer]
18−[ConTeXt], [RTF], [DocBook XML], [OpenDocument XML], [ODT], [Word docx], [GNU
18+slide shows), [ConTeXt], [RTF], [DocBook XML], [OpenDocument XML],
19−Texinfo], [MediaWiki markup], [EPUB], [Textile], [groff man] pages, [Emacs
19+[ODT], [Word docx], [GNU Texinfo], [MediaWiki markup], [EPUB],
20+[Textile], [groff man] pages, [Emacs Org-Mode], [AsciiDoc], and [Slidy],
20−Org-Mode], [AsciiDoc], and [Slidy], [DZSlides], or [S5] HTML slide shows. It
21+[DZSlides], or [S5] HTML slide shows. It can also produce [PDF] output
21−can also produce [PDF] output on systems where LaTeX is installed.
22+on systems where LaTeX is installed.
22
23
23Pandoc's enhanced version of markdown includes syntax for footnotes,
24Pandoc's enhanced version of markdown includes syntax for footnotes,
24tables, flexible ordered lists, definition lists, delimited code blocks,
25tables, flexible ordered lists, definition lists, delimited code blocks,
@@ -137,10 +138,10 @@ General options
137: Specify input format. *FORMAT* can be `native` (native Haskell),
138: Specify input format. *FORMAT* can be `native` (native Haskell),
138 `json` (JSON version of native AST), `markdown` (markdown),
139 `json` (JSON version of native AST), `markdown` (markdown),
139 `textile` (Textile), `rst` (reStructuredText), `html` (HTML),
140 `textile` (Textile), `rst` (reStructuredText), `html` (HTML),
141+ `docbook` (DocBook XML), or `latex` (LaTeX). If `+lhs` is
140− or `latex` (LaTeX). If `+lhs` is appended to `markdown`, `rst`,
142+ appended to `markdown`, `rst`, `latex`, the input will be
141− `latex`, the input will be treated as literate Haskell source:
143+ treated as literate Haskell source: see [Literate Haskell
142− see [Literate Haskell support](#literate-haskell-support),
144+ support](#literate-haskell-support), below.
143− below.
144
145
145`-t` *FORMAT*, `-w` *FORMAT*, `--to=`*FORMAT*, `--write=`*FORMAT*
146`-t` *FORMAT*, `-w` *FORMAT*, `--to=`*FORMAT*, `--write=`*FORMAT*
146: Specify output format. *FORMAT* can be `native` (native Haskell),
147: Specify output format. *FORMAT* can be `native` (native Haskell),