git.iko.soy/typeable/pandoc
on master help sign in
README tweak on equivalent to markdown2pdf.
2703162John MacFarlane
README+14−6
@@ -94,12 +94,20 @@ should pipe input and output through `iconv`:
94`markdown2pdf`
94`markdown2pdf`
95--------------
95--------------
96
96
97−Earlier versions of pandoc came with a program, `markdown2pdf`,
97+Earlier versions of pandoc came with a program, `markdown2pdf`, that
98−that used pandoc and pdflatex to produce a PDF. This is no
98+used pandoc and pdflatex to produce a PDF. This is no longer needed,
99−longer needed, since `pandoc` now has a `pdf` output format.
99+since `pandoc` now has a `pdf` output format, and there is no reason
100−Note that whereas `markdown2pdf` would create an ouput file
100+to limit input to markdown. Note that whereas `markdown2pdf` would
101−based on the input file name, `pandoc` requires that you specify
101+create an ouput file based on the input file name, `pandoc` requires
102−the output filename explicitly.
102+that you specify the output filename explicitly. So,
103+
104+ pandoc input.txt -o input.pdf --latex-program=xelatex
105+
106+does the same thing
107+
108+ markdown2pdf --xetex input.txt
109+
110+used to do.
103
111
104`hsmarkdown`
112`hsmarkdown`
105------------
113------------