git.iko.soy/typeable/pandoc
on master help sign in
Documented org-mode writer in README, cabal, man pages.
commit05b801767952a91f1f14f040487b96cd8662f172 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 5 Dec 2010, 09:45 (16 years ago) parente8e491b
3 files changed+21−15
README+15−10 man/man1/pandoc.1.md+4−4 pandoc.cabal+2−1
README+15−10
@@ -8,7 +8,7 @@ another, and a command-line tool that uses this library. It can read
88and [LaTeX]; and it can write plain text, [markdown], [reStructuredText],
99[HTML], [LaTeX], [ConTeXt], [RTF], [DocBook XML], [OpenDocument XML], [ODT],
1010[GNU Texinfo], [MediaWiki markup], [EPUB], [Textile], [groff man] pages,
11−and [Slidy] or [S5] HTML slide shows.
11+[Emacs Org-Mode], and [Slidy] or [S5] HTML slide shows.
1212
1313Pandoc's enhanced version of markdown includes syntax for footnotes,
1414tables, flexible ordered lists, definition lists, delimited code blocks,
@@ -76,8 +76,9 @@ Supported output formats include `markdown`, `latex`, `context`
7676(reStructuredText), `docbook` (DocBook XML), `opendocument`
7777(OpenDocument XML), `odt` (OpenOffice text document), `texinfo`, (GNU
7878Texinfo), `mediawiki` (MediaWiki markup), `textile` (Textile),
79−`epub` (EPUB ebook), `man` (groff man), `slidy` (slidy HTML and
80−javascript slide show), or `s5` (S5 HTML and javascript slide show).
79+`epub` (EPUB ebook), `man` (groff man), `org` (Emacs Org-Mode),
80+`slidy` (slidy HTML and javascript slide show), or `s5`
81+(S5 HTML and javascript slide show).
8182
8283Supported input formats include `markdown`, `textile`, `html`,
8384`latex`, and `rst`. Note that the `rst` reader only parses a subset of
@@ -170,15 +171,18 @@ For further documentation, see the `pandoc(1)` man page.
170171`-f`, `--from`, `-r`, or `--read` *format*
171172: specifies the input format (the format Pandoc will be converting
172173 *from*). *format* can be `native`, `markdown`, `textile`, `rst`, `html`,
173− or `latex`. (`+lhs` can be appended to indicate that the input should
174− be treated as literate Haskell source. See
175− [Literate Haskell support](#literate-haskell-support), below.)
174+ or `latex`. (`+lhs` can be appended to `html`, `markdown`, `latex`,
175+ or `rst` to indicate that the input should be treated as literate Haskell
176+ source. See [Literate Haskell support](#literate-haskell-support),
177+ below.)
176178
177179`-t`, `--to`, `-w`, or `--write` *format*
178180: specifies the output format -- the format Pandoc will
179181 be converting *to*. *format* can be `native`, `html`, `slidy`, `s5`,
180− `docbook`, `opendocument`, `latex`, `context`, `markdown`, `man`,
181− `plain`, `rst`, and `rtf`. (`+lhs` can be appended to indicate that
182+ `docbook`, `opendocument`, `odt`, `epub`, `latex`, `context`,
183+ `markdown`, `man`, `plain`, `mediawiki`, `texinfo`, `textile`, `org`,
184+ `plain`, `rst`, and `rtf`. (`+lhs` can be appended to `html`,
185+ `markdown`, `rst`, or `latex` to indicate that
182186 the output should be treated as literate Haskell source. See
183187 [Literate Haskell support](#literate-haskell-support), below.)
184188
@@ -1217,8 +1221,8 @@ you need to enclose text in literal $ characters, backslash-escape
12171221them and they won't be treated as math delimiters.
12181222
12191223TeX math will be printed in all output formats. In Markdown,
1220−reStructuredText, LaTeX, and ConTeXt output, it will appear verbatim
1221−between $ characters.
1224+reStructuredText, LaTeX, Org-Mode, and ConTeXt output, it will appear
1225+verbatim between $ characters.
12221226
12231227In reStructuredText output, it will be rendered using an interpreted
12241228text role `:math:`, as described
@@ -1474,6 +1478,7 @@ and pasted as literate Haskell source.
14741478[groff man]: http://developer.apple.com/DOCUMENTATION/Darwin/Reference/ManPages/man7/groff_man.7.html
14751479[Haskell]: http://www.haskell.org/
14761480[GNU Texinfo]: http://www.gnu.org/software/texinfo/
1481+[Emacs Org-Mode]: http://org-mode.org
14771482[EPUB]: http://www.idpf.org/
14781483[GPL]: http://www.gnu.org/copyleft/gpl.html "GNU General Public License"
14791484
man/man1/pandoc.1.md+4−4
@@ -16,8 +16,8 @@ Pandoc converts files from one markup format to another. It can
1616read markdown and (subsets of) Textile, reStructuredText, HTML, and LaTeX,
1717and it can write plain text, markdown, reStructuredText, HTML, LaTeX,
1818ConTeXt, Texinfo, groff man, MediaWiki markup, Textile, RTF,
19−OpenDocument XML, ODT, DocBook XML, EPUB, and Slidy or S5 HTML slide
20−shows.
19+OpenDocument XML, ODT, DocBook XML, EPUB, Emacs Org-Mode, and
20+Slidy or S5 HTML slide shows.
2121
2222If no *input-file* is specified, input is read from *stdin*.
2323Otherwise, the *input-files* are concatenated (with a blank
@@ -73,8 +73,8 @@ should pipe input and output through `iconv`:
7373: Specify output format. *FORMAT* can be `native` (native Haskell),
7474 `plain` (plain text), `markdown` (markdown), `rst` (reStructuredText),
7575 `html` (HTML), `latex` (LaTeX), `context` (ConTeXt), `man` (groff man),
76− `mediawiki` (MediaWiki markup), `textile` (Textile),
77− `texinfo` (GNU Texinfo), `docbook` (DocBook XML),
76+ `mediawiki` (MediaWiki markup), `textile` (Textile), `org` (Emacs
77+ Org-Mode), `texinfo` (GNU Texinfo), `docbook` (DocBook XML),
7878 `opendocument` (OpenDocument XML), `odt` (OpenOffice text document),
7979 `epub` (EPUB book), `slidy` (Slidy HTML and javascript slide show),
8080 `s5` (S5 HTML and javascript slide show), or `rtf` (rich text
pandoc.cabal+2−1
@@ -19,7 +19,8 @@ Description: Pandoc is a Haskell library for converting from one markup
1919 reStructuredText, HTML, LaTeX and Textile, and it can write
2020 markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook,
2121 OpenDocument, ODT, RTF, MediaWiki, Textile, groff man pages,
22− EPUB, and S5 and Slidy HTML slide shows.
22+ plain text, Emacs Org-Mode, EPUB, and S5 and Slidy HTML
23+ slide shows.
2324 .
2425 Pandoc extends standard markdown syntax with footnotes,
2526 embedded LaTeX, definition lists, tables, and other