From 0f4bdc6b7d52e1a2ce5db8f0df5fb06a5fdce324 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 10 Aug 2008 17:33:20 +0000 Subject: 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 --- README | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to 'README') diff --git a/README b/README index 62837543c..3cc3c2b58 100644 --- a/README +++ b/README @@ -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 -- cgit v1.2.3