diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-21 14:24:02 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-21 14:24:02 -0800 |
commit | 2703162424a06198a1c3cd3a36157a9562086b94 (patch) | |
tree | a7a1bac9255eed16145e5b17791ed8a94e8e3640 /README | |
parent | e6e4311ddd3f964122a309af926dc95f6ef970d9 (diff) | |
download | pandoc-2703162424a06198a1c3cd3a36157a9562086b94.tar.gz |
README tweak on equivalent to markdown2pdf.
Diffstat (limited to 'README')
-rw-r--r-- | README | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -94,12 +94,20 @@ should pipe input and output through `iconv`: `markdown2pdf` -------------- -Earlier versions of pandoc came with a program, `markdown2pdf`, -that used pandoc and pdflatex to produce a PDF. This is no -longer needed, since `pandoc` now has a `pdf` output format. -Note that whereas `markdown2pdf` would create an ouput file -based on the input file name, `pandoc` requires that you specify -the output filename explicitly. +Earlier versions of pandoc came with a program, `markdown2pdf`, that +used pandoc and pdflatex to produce a PDF. This is no longer needed, +since `pandoc` now has a `pdf` output format, and there is no reason +to limit input to markdown. Note that whereas `markdown2pdf` would +create an ouput file based on the input file name, `pandoc` requires +that you specify the output filename explicitly. So, + + pandoc input.txt -o input.pdf --latex-program=xelatex + +does the same thing + + markdown2pdf --xetex input.txt + +used to do. `hsmarkdown` ------------ |