diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-08-10 17:33:20 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-08-10 17:33:20 +0000 |
commit | 0f4bdc6b7d52e1a2ce5db8f0df5fb06a5fdce324 (patch) | |
tree | 461390423260ea2ce36949f8b5b5affd7f8ca94f /README | |
parent | f435d14f28e2323120f215996a979030e93f393d (diff) | |
download | pandoc-0f4bdc6b7d52e1a2ce5db8f0df5fb06a5fdce324.tar.gz |
Added Text.Pandoc.PDF module, 'pdf' as new output option.
The module calls pdflatex to produce the PDF, and is basically shell
scripting in haskell. But this is better than the existing markdown2pdf
script, which is limited to POSIX.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1394 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'README')
-rw-r--r-- | README | 27 |
1 files changed, 22 insertions, 5 deletions
@@ -82,11 +82,28 @@ To convert `hello.html` from html to markdown: pandoc -f html -t markdown hello.html Supported output formats include `markdown`, `latex`, `context` -(ConTeXt), `html`, `rtf` (rich text format), `rst` (reStructuredText), -`docbook` (DocBook XML), `opendocument` (OpenDocument XML), `odt` -(OpenOffice text document), `texinfo`, (GNU Texinfo), `mediawiki` -(MediaWiki markup), `man` (groff man), and `s5` (which produces an -HTML file that acts like powerpoint). +(ConTeXt), `pdf`, `html`, `rtf` (rich text format), `rst` +(reStructuredText), `docbook` (DocBook XML), `opendocument` +(OpenDocument XML), `odt` (OpenOffice text document), `texinfo`, (GNU +Texinfo), `mediawiki` (MediaWiki markup), `man` (groff man), and `s5` +(which produces an HTML file that acts like powerpoint). + +Notes: + +- For `odt` output, you must have `zip` in the path. If you + don't have it installed, you can get the free [Info-ZIP]. + +- For `pdf` output, you must have `pdflatex` and `bibtex` in the + path. You should also have the following LaTeX packages installed: + `unicode`, `fancyhdr` (if you have verbatim text in footnotes), + `graphicx` (if you use images), `array` (if you use tables), and + `ulem` (if you use strikeout text). If they are not already included + in your LaTeX distribution, you can get them from [CTAN]. A full + [TeX Live] or [MacTeX] distribution will have all of these packages. + + [Info-ZIP]: http://www.info-zip.org/Zip.html + [TeX Live]: http://www.tug.org/texlive/ + [MacTeX]: http://www.tug.org/mactex/ Supported input formats include `markdown`, `html`, `latex`, and `rst`. Note that the `rst` reader only parses a subset of reStructuredText |