diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-07-31 23:16:02 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-07-31 23:16:02 +0000 |
commit | d072ad4b66b5cdf5a8f811ae1f78460e34270d58 (patch) | |
tree | 6f77dde12c4d5824434e0961f71c9f38f19be4cd /README | |
parent | 504a61a97b9dbd0b55b2b06fd2c1f547d71a1fa1 (diff) | |
download | pandoc-d072ad4b66b5cdf5a8f811ae1f78460e34270d58.tar.gz |
Added 'odt' output option to pandoc:
Not a writer, but a module that inserts the output of the OpenDocument
writer into an ODT archive. This replaces markdown2odt.
+ Added odt output option to Main.hs.
+ Added default for .odt output file.
+ Changed defaults so that .xml and .sgml aren't automatically DocBook.
+ Added odt writer to Text.Pandoc exports.
+ Added Text.Pandoc.ODT and included in pandoc.cabal.
+ Added reference.odt as data-file in pandoc.cabal.
+ Handle picture links in OpenDocument files using xml library.
+ Removed markdown2odt and references from Makefile, README, man.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1345 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'README')
-rw-r--r-- | README | 26 |
1 files changed, 3 insertions, 23 deletions
@@ -119,7 +119,7 @@ then convert the output back to the local encoding. Shell scripts ============= -Four shell scripts, `markdown2pdf`, `markdown2odt`, `html2markdown`, and +Three shell scripts, `markdown2pdf`, `html2markdown`, and `hsmarkdown`, are included in the standard Pandoc installation. (They are not included in the Windows binary package, as they require a POSIX shell, but they may be used in Windows under Cygwin.) @@ -149,27 +149,7 @@ shell, but they may be used in Windows under Cygwin.) included in your LaTeX distribution, you can get them from [CTAN]. -2. `markdown2odt` produces an ODT file from markdown-formatted - text, using `pandoc` and `pdflatex`. (ODT is "OpenDocument - Text," the default format for the OpenOffice.org Writer.) - The default behavior of `markdown2odt` is to create a file with the - same base name as the first argument and the extension `odt`; thus, - for example, - - markdown2odt sample.txt endnotes.txt - - will produce `sample.odt`. (If `sample.odt` exists already, - it will be backed up before being overwritten.) An output file - name can be specified explicitly using the `-o` option: - - markdown2odt -o book.odt chap1 chap2 - - If no input file is specified, input will be taken from STDIN. - All of `pandoc`'s options will work with `markdown2odt` as well. - - `markdown2odt` requires `zip`, which must be in the path. - -3. `html2markdown` grabs a web page from a file or URL and converts +2. `html2markdown` grabs a web page from a file or URL and converts it to markdown-formatted text, using `tidy` and `pandoc`. All of `pandoc`'s options will work with `html2markdown` as well. @@ -198,7 +178,7 @@ shell, but they may be used in Windows under Cygwin.) It uses [`iconv`] for character encoding conversions; if `iconv` is absent, it will still work, but it will treat everything as UTF-8. -4. `hsmarkdown` is designed to be used as a drop-in replacement for +3. `hsmarkdown` is designed to be used as a drop-in replacement for `Markdown.pl`. It forces `pandoc` to convert from markdown to HTML, and to use the `--strict` flag for maximal compliance with official markdown syntax. (All of Pandoc's syntax extensions and |