Documented DocBook input format in README.

This commit is contained in:
John MacFarlane 2012-04-20 10:40:59 -07:00
parent 2ebfa88947
commit 5adda4762f

21
README
View file

@ -13,12 +13,13 @@ Description
Pandoc is a [Haskell] library for converting from one markup format to Pandoc is a [Haskell] library for converting from one markup format to
another, and a command-line tool that uses this library. It can read another, and a command-line tool that uses this library. It can read
[markdown] and (subsets of) [Textile], [reStructuredText], [HTML], [markdown] and (subsets of) [Textile], [reStructuredText], [HTML],
and [LaTeX]; and it can write plain text, [markdown], [reStructuredText], [LaTeX], and [DocBook XML]; and it can write plain text, [markdown],
[XHTML], [HTML 5], [LaTeX] (including [beamer] slide shows), [reStructuredText], [XHTML], [HTML 5], [LaTeX] (including [beamer]
[ConTeXt], [RTF], [DocBook XML], [OpenDocument XML], [ODT], [Word docx], [GNU slide shows), [ConTeXt], [RTF], [DocBook XML], [OpenDocument XML],
Texinfo], [MediaWiki markup], [EPUB], [Textile], [groff man] pages, [Emacs [ODT], [Word docx], [GNU Texinfo], [MediaWiki markup], [EPUB],
Org-Mode], [AsciiDoc], and [Slidy], [DZSlides], or [S5] HTML slide shows. It [Textile], [groff man] pages, [Emacs Org-Mode], [AsciiDoc], and [Slidy],
can also produce [PDF] output on systems where LaTeX is installed. [DZSlides], or [S5] HTML slide shows. It can also produce [PDF] output
on systems where LaTeX is installed.
Pandoc's enhanced version of markdown includes syntax for footnotes, Pandoc's enhanced version of markdown includes syntax for footnotes,
tables, flexible ordered lists, definition lists, delimited code blocks, tables, flexible ordered lists, definition lists, delimited code blocks,
@ -137,10 +138,10 @@ General options
: Specify input format. *FORMAT* can be `native` (native Haskell), : Specify input format. *FORMAT* can be `native` (native Haskell),
`json` (JSON version of native AST), `markdown` (markdown), `json` (JSON version of native AST), `markdown` (markdown),
`textile` (Textile), `rst` (reStructuredText), `html` (HTML), `textile` (Textile), `rst` (reStructuredText), `html` (HTML),
or `latex` (LaTeX). If `+lhs` is appended to `markdown`, `rst`, `docbook` (DocBook XML), or `latex` (LaTeX). If `+lhs` is
`latex`, the input will be treated as literate Haskell source: appended to `markdown`, `rst`, `latex`, the input will be
see [Literate Haskell support](#literate-haskell-support), treated as literate Haskell source: see [Literate Haskell
below. support](#literate-haskell-support), below.
`-t` *FORMAT*, `-w` *FORMAT*, `--to=`*FORMAT*, `--write=`*FORMAT* `-t` *FORMAT*, `-w` *FORMAT*, `--to=`*FORMAT*, `--write=`*FORMAT*
: Specify output format. *FORMAT* can be `native` (native Haskell), : Specify output format. *FORMAT* can be `native` (native Haskell),