From 2703162424a06198a1c3cd3a36157a9562086b94 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 21 Jan 2012 14:24:02 -0800 Subject: [PATCH] README tweak on equivalent to markdown2pdf. --- README | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README b/README index 89a5d3412..493fdb3d1 100644 --- a/README +++ b/README @@ -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` ------------