Updated man page.

This commit is contained in:
John MacFarlane 2016-07-14 22:57:09 -07:00
parent 3d6e32bba1
commit afd986d808

View file

@ -1,5 +1,5 @@
.\"t .\"t
.TH PANDOC 1 "June 4, 2016" "pandoc 1.17.1" .TH PANDOC 1 "June 4, 2016" "pandoc 1.17.2"
.SH NAME .SH NAME
pandoc - general markup converter pandoc - general markup converter
.SH SYNOPSIS .SH SYNOPSIS
@ -10,16 +10,16 @@ pandoc - general markup converter
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. another, and a command\-line tool that uses this library.
It can read Markdown, CommonMark, PHP Markdown Extra, GitHub\-Flavored It can read Markdown, CommonMark, PHP Markdown Extra, GitHub\-Flavored
Markdown, and (subsets of) Textile, reStructuredText, HTML, LaTeX, Markdown, MultiMarkdown, and (subsets of) Textile, reStructuredText,
MediaWiki markup, TWiki markup, Haddock markup, OPML, Emacs Org mode, HTML, LaTeX, MediaWiki markup, TWiki markup, Haddock markup, OPML, Emacs
DocBook, txt2tags, EPUB, ODT and Word docx; and it can write plain text, Org mode, DocBook, txt2tags, EPUB, ODT and Word docx; and it can write
Markdown, CommonMark, PHP Markdown Extra, GitHub\-Flavored Markdown, plain text, Markdown, CommonMark, PHP Markdown Extra, GitHub\-Flavored
reStructuredText, XHTML, HTML5, LaTeX (including \f[C]beamer\f[] slide Markdown, MultiMarkdown, reStructuredText, XHTML, HTML5, LaTeX
shows), ConTeXt, RTF, OPML, DocBook, OpenDocument, ODT, Word docx, GNU (including \f[C]beamer\f[] slide shows), ConTeXt, RTF, OPML, DocBook,
Texinfo, MediaWiki markup, DokuWiki markup, Haddock markup, EPUB (v2 or OpenDocument, ODT, Word docx, GNU Texinfo, MediaWiki markup, DokuWiki
v3), FictionBook2, Textile, groff man pages, Emacs Org mode, AsciiDoc, markup, ZimWiki markup, Haddock markup, EPUB (v2 or v3), FictionBook2,
InDesign ICML, TEI Simple, and Slidy, Slideous, DZSlides, reveal.js or Textile, groff man pages, Emacs Org mode, AsciiDoc, InDesign ICML, TEI
S5 HTML slide shows. Simple, and Slidy, Slideous, DZSlides, reveal.js or S5 HTML slide shows.
It can also produce PDF output on systems where LaTeX, ConTeXt, or It can also produce PDF output on systems where LaTeX, ConTeXt, or
\f[C]wkhtmltopdf\f[] is installed. \f[C]wkhtmltopdf\f[] is installed.
.PP .PP
@ -212,12 +212,13 @@ Specify input format.
Markdown), \f[C]markdown_strict\f[] (original unextended Markdown), Markdown), \f[C]markdown_strict\f[] (original unextended Markdown),
\f[C]markdown_phpextra\f[] (PHP Markdown Extra), \f[C]markdown_phpextra\f[] (PHP Markdown Extra),
\f[C]markdown_github\f[] (GitHub\-Flavored Markdown), \f[C]markdown_github\f[] (GitHub\-Flavored Markdown),
\f[C]commonmark\f[] (CommonMark Markdown), \f[C]textile\f[] (Textile), \f[C]markdown_mmd\f[] (MultiMarkdown), \f[C]commonmark\f[] (CommonMark
\f[C]rst\f[] (reStructuredText), \f[C]html\f[] (HTML), \f[C]docbook\f[] Markdown), \f[C]textile\f[] (Textile), \f[C]rst\f[] (reStructuredText),
(DocBook), \f[C]t2t\f[] (txt2tags), \f[C]docx\f[] (docx), \f[C]odt\f[] \f[C]html\f[] (HTML), \f[C]docbook\f[] (DocBook), \f[C]t2t\f[]
(ODT), \f[C]epub\f[] (EPUB), \f[C]opml\f[] (OPML), \f[C]org\f[] (Emacs (txt2tags), \f[C]docx\f[] (docx), \f[C]odt\f[] (ODT), \f[C]epub\f[]
Org mode), \f[C]mediawiki\f[] (MediaWiki markup), \f[C]twiki\f[] (TWiki (EPUB), \f[C]opml\f[] (OPML), \f[C]org\f[] (Emacs Org mode),
markup), \f[C]haddock\f[] (Haddock markup), or \f[C]latex\f[] (LaTeX). \f[C]mediawiki\f[] (MediaWiki markup), \f[C]twiki\f[] (TWiki markup),
\f[C]haddock\f[] (Haddock markup), or \f[C]latex\f[] (LaTeX).
If \f[C]+lhs\f[] is appended to \f[C]markdown\f[], \f[C]rst\f[], If \f[C]+lhs\f[] is appended to \f[C]markdown\f[], \f[C]rst\f[],
\f[C]latex\f[], or \f[C]html\f[], the input will be treated as literate \f[C]latex\f[], or \f[C]html\f[], the input will be treated as literate
Haskell source: see Literate Haskell support, below. Haskell source: see Literate Haskell support, below.
@ -241,24 +242,25 @@ Specify output format.
\f[C]markdown_strict\f[] (original unextended Markdown), \f[C]markdown_strict\f[] (original unextended Markdown),
\f[C]markdown_phpextra\f[] (PHP Markdown Extra), \f[C]markdown_phpextra\f[] (PHP Markdown Extra),
\f[C]markdown_github\f[] (GitHub\-Flavored Markdown), \f[C]markdown_github\f[] (GitHub\-Flavored Markdown),
\f[C]commonmark\f[] (CommonMark Markdown), \f[C]rst\f[] \f[C]markdown_mmd\f[] (MultiMarkdown), \f[C]commonmark\f[] (CommonMark
(reStructuredText), \f[C]html\f[] (XHTML), \f[C]html5\f[] (HTML5), Markdown), \f[C]rst\f[] (reStructuredText), \f[C]html\f[] (XHTML),
\f[C]latex\f[] (LaTeX), \f[C]beamer\f[] (LaTeX beamer slide show), \f[C]html5\f[] (HTML5), \f[C]latex\f[] (LaTeX), \f[C]beamer\f[] (LaTeX
\f[C]context\f[] (ConTeXt), \f[C]man\f[] (groff man), \f[C]mediawiki\f[] beamer slide show), \f[C]context\f[] (ConTeXt), \f[C]man\f[] (groff
(MediaWiki markup), \f[C]dokuwiki\f[] (DokuWiki markup), man), \f[C]mediawiki\f[] (MediaWiki markup), \f[C]dokuwiki\f[] (DokuWiki
\f[C]textile\f[] (Textile), \f[C]org\f[] (Emacs Org mode), markup), \f[C]zimwiki\f[] (ZimWiki markup), \f[C]textile\f[] (Textile),
\f[C]texinfo\f[] (GNU Texinfo), \f[C]opml\f[] (OPML), \f[C]docbook\f[] \f[C]org\f[] (Emacs Org mode), \f[C]texinfo\f[] (GNU Texinfo),
(DocBook 4), \f[C]docbook5\f[] (DocBook 5), \f[C]opendocument\f[] \f[C]opml\f[] (OPML), \f[C]docbook\f[] (DocBook 4), \f[C]docbook5\f[]
(OpenDocument), \f[C]odt\f[] (OpenOffice text document), \f[C]docx\f[] (DocBook 5), \f[C]opendocument\f[] (OpenDocument), \f[C]odt\f[]
(Word docx), \f[C]haddock\f[] (Haddock markup), \f[C]rtf\f[] (rich text (OpenOffice text document), \f[C]docx\f[] (Word docx), \f[C]haddock\f[]
format), \f[C]epub\f[] (EPUB v2 book), \f[C]epub3\f[] (EPUB v3), (Haddock markup), \f[C]rtf\f[] (rich text format), \f[C]epub\f[] (EPUB
\f[C]fb2\f[] (FictionBook2 e\-book), \f[C]asciidoc\f[] (AsciiDoc), v2 book), \f[C]epub3\f[] (EPUB v3), \f[C]fb2\f[] (FictionBook2 e\-book),
\f[C]icml\f[] (InDesign ICML), \f[C]tei\f[] (TEI Simple), \f[C]slidy\f[] \f[C]asciidoc\f[] (AsciiDoc), \f[C]icml\f[] (InDesign ICML),
(Slidy HTML and javascript slide show), \f[C]slideous\f[] (Slideous HTML \f[C]tei\f[] (TEI Simple), \f[C]slidy\f[] (Slidy HTML and javascript
and javascript slide show), \f[C]dzslides\f[] (DZSlides HTML5 + slide show), \f[C]slideous\f[] (Slideous HTML and javascript slide
javascript slide show), \f[C]revealjs\f[] (reveal.js HTML5 + javascript show), \f[C]dzslides\f[] (DZSlides HTML5 + javascript slide show),
slide show), \f[C]s5\f[] (S5 HTML and javascript slide show), or the \f[C]revealjs\f[] (reveal.js HTML5 + javascript slide show), \f[C]s5\f[]
path of a custom lua writer (see Custom writers, below). (S5 HTML and javascript slide show), or the path of a custom lua writer
(see Custom writers, below).
Note that \f[C]odt\f[], \f[C]epub\f[], and \f[C]epub3\f[] output will Note that \f[C]odt\f[], \f[C]epub\f[], and \f[C]epub3\f[] output will
not be directed to \f[I]stdout\f[]; an output filename must be specified not be directed to \f[I]stdout\f[]; an output filename must be specified
using the \f[C]\-o/\-\-output\f[] option. using the \f[C]\-o/\-\-output\f[] option.
@ -351,9 +353,10 @@ Show usage message.
Parse untranslatable HTML codes and LaTeX environments as raw HTML or Parse untranslatable HTML codes and LaTeX environments as raw HTML or
LaTeX, instead of ignoring them. LaTeX, instead of ignoring them.
Affects only HTML and LaTeX input. Affects only HTML and LaTeX input.
Raw HTML can be printed in Markdown, reStructuredText, HTML, Slidy, Raw HTML can be printed in Markdown, reStructuredText, Emacs Org mode,
Slideous, DZSlides, reveal.js, and S5 output; raw LaTeX can be printed HTML, Slidy, Slideous, DZSlides, reveal.js, and S5 output; raw LaTeX can
in Markdown, reStructuredText, LaTeX, and ConTeXt output. be printed in Markdown, reStructuredText, Emacs Org mode, LaTeX, and
ConTeXt output.
The default is for the readers to omit untranslatable HTML codes and The default is for the readers to omit untranslatable HTML codes and
LaTeX environments. LaTeX environments.
(The LaTeX reader does pass through untranslatable LaTeX (The LaTeX reader does pass through untranslatable LaTeX
@ -486,13 +489,16 @@ Specify the number of spaces per tab (default is 4).
.RE .RE
.TP .TP
.B \f[C]\-\-track\-changes=accept\f[]|\f[C]reject\f[]|\f[C]all\f[] .B \f[C]\-\-track\-changes=accept\f[]|\f[C]reject\f[]|\f[C]all\f[]
Specifies what to do with insertions and deletions produced by the MS Specifies what to do with insertions, deletions, and comments produced
Word "Track Changes" feature. by the MS Word "Track Changes" feature.
\f[C]accept\f[] (the default), inserts all insertions, and ignores all \f[C]accept\f[] (the default), inserts all insertions, and ignores all
deletions. deletions.
\f[C]reject\f[] inserts all deletions and ignores insertions. \f[C]reject\f[] inserts all deletions and ignores insertions.
\f[C]all\f[] puts in both insertions and deletions, wrapped in spans Both \f[C]accept\f[] and \f[C]reject\f[] ignore comments.
with \f[C]insertion\f[] and \f[C]deletion\f[] classes, respectively. \f[C]all\f[] puts in insertions, deletions, and comments, wrapped in
spans with \f[C]insertion\f[], \f[C]deletion\f[],
\f[C]comment\-start\f[], and \f[C]comment\-end\f[] classes,
respectively.
The author and time of change is included. The author and time of change is included.
\f[C]all\f[] is useful for scripting: only accepting changes from a \f[C]all\f[] is useful for scripting: only accepting changes from a
certain reviewer, say, or before a certain date. certain reviewer, say, or before a certain date.
@ -800,7 +806,7 @@ documents.
\f[C]javascript\f[] obfuscates them using javascript. \f[C]javascript\f[] obfuscates them using javascript.
\f[C]references\f[] obfuscates them by printing their letters as decimal \f[C]references\f[] obfuscates them by printing their letters as decimal
or hexadecimal character references. or hexadecimal character references.
The default is \f[C]javascript\f[]. The default is \f[C]none\f[].
.RS .RS
.RE .RE
.TP .TP
@ -1087,6 +1093,8 @@ Render TeX formulas using an external script that converts TeX formulas
to images. to images.
The formula will be concatenated with the URL provided. The formula will be concatenated with the URL provided.
If \f[I]URL\f[] is not specified, the Google Chart API will be used. If \f[I]URL\f[] is not specified, the Google Chart API will be used.
Note: the \f[C]\-\-webtex\f[] option will affect Markdown output as well
as HTML.
.RS .RS
.RE .RE
.TP .TP
@ -1490,6 +1498,11 @@ level of section to include in table of contents
.RS .RS
.RE .RE
.TP .TP
.B \f[C]secnumdepth\f[]
numbering depth for sections, if sections are numbered
.RS
.RE
.TP
.B \f[C]lof\f[], \f[C]lot\f[] .B \f[C]lof\f[], \f[C]lot\f[]
include list of figures, list of tables include list of figures, list of tables
.RS .RS
@ -3280,7 +3293,7 @@ delimiters.
TeX math will be printed in all output formats. TeX math will be printed in all output formats.
How it is rendered depends on the output format: How it is rendered depends on the output format:
.TP .TP
.B Markdown, LaTeX, Emacs Org mode, ConTeXt .B Markdown, LaTeX, Emacs Org mode, ConTeXt, ZimWiki
It will appear verbatim between \f[C]$\f[] characters. It will appear verbatim between \f[C]$\f[] characters.
.RS .RS
.RE .RE
@ -3411,8 +3424,8 @@ it, but it has been made an extension so that it can be disabled if
desired.) desired.)
.PP .PP
The raw HTML is passed through unchanged in HTML, S5, Slidy, Slideous, The raw HTML is passed through unchanged in HTML, S5, Slidy, Slideous,
DZSlides, EPUB, Markdown, and Textile output, and suppressed in other DZSlides, EPUB, Markdown, Emacs Org mode, and Textile output, and
formats. suppressed in other formats.
.SS Extension: \f[C]markdown_in_html_blocks\f[] .SS Extension: \f[C]markdown_in_html_blocks\f[]
.PP .PP
Standard Markdown allows you to include HTML "blocks": blocks of HTML Standard Markdown allows you to include HTML "blocks": blocks of HTML
@ -3506,7 +3519,7 @@ the material between the begin and end tags will be interpreted as raw
LaTeX, not as Markdown. LaTeX, not as Markdown.
.PP .PP
Inline LaTeX is ignored in output formats other than Markdown, LaTeX, Inline LaTeX is ignored in output formats other than Markdown, LaTeX,
and ConTeXt. Emacs Org mode, and ConTeXt.
.SS LaTeX macros .SS LaTeX macros
.SS Extension: \f[C]latex_macros\f[] .SS Extension: \f[C]latex_macros\f[]
.PP .PP