git.iko.soy/typeable/pandoc
on master help sign in
Revised error message for pandoc -t pdf.
commitdd4110fb09aa676cb03ed9cec52b21f9e7e46a3f authorJohn MacFarlane <jgm@berkeley.edu> dateThu 13 Apr 2017, 16:49 (10 years ago) parent3d6edbd
1 file changed+4−4
src/Text/Pandoc/App.hs+4−4
src/Text/Pandoc/App.hs+4−4
@@ -178,10 +178,10 @@ convertWithOpts opts = do
178178 Left e -> E.throwIO $ PandocAppError 9 $
179179 if format == "pdf"
180180 then e ++
181− "\nTo create a pdf with pandoc, use " ++
182− "the latex or beamer writer and specify\n" ++
183− "an output file with .pdf extension " ++
184− "(pandoc -t latex -o filename.pdf)."
181+ "\nTo create a pdf using pandoc, use " ++
182+ "-t latex|beamer|context|ms|html5" ++
183+ "\nand specify an output file with " ++
184+ ".pdf extension (-o filename.pdf)." ++
185185 else e
186186 Right w -> return (w :: Writer PandocIO)
187187