README tweak on equivalent to markdown2pdf.

This commit is contained in:
John MacFarlane 2012-01-21 14:24:02 -08:00
parent e6e4311ddd
commit 2703162424

20
README
View file

@ -94,12 +94,20 @@ should pipe input and output through `iconv`:
`markdown2pdf` `markdown2pdf`
-------------- --------------
Earlier versions of pandoc came with a program, `markdown2pdf`, Earlier versions of pandoc came with a program, `markdown2pdf`, that
that used pandoc and pdflatex to produce a PDF. This is no used pandoc and pdflatex to produce a PDF. This is no longer needed,
longer needed, since `pandoc` now has a `pdf` output format. since `pandoc` now has a `pdf` output format, and there is no reason
Note that whereas `markdown2pdf` would create an ouput file to limit input to markdown. Note that whereas `markdown2pdf` would
based on the input file name, `pandoc` requires that you specify create an ouput file based on the input file name, `pandoc` requires
the output filename explicitly. 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` `hsmarkdown`
------------ ------------