git.iko.soy/typeable/pandoc
on master help sign in
Revised error message for pandoc -t pdf.
dd4110fJohn MacFarlane
src/Text/Pandoc/App.hs+4−4
@@ -178,10 +178,10 @@ convertWithOpts opts = do
178 Left e -> E.throwIO $ PandocAppError 9 $
178 Left e -> E.throwIO $ PandocAppError 9 $
179 if format == "pdf"
179 if format == "pdf"
180 then e ++
180 then e ++
181− "\nTo create a pdf with pandoc, use " ++
181+ "\nTo create a pdf using pandoc, use " ++
182− "the latex or beamer writer and specify\n" ++
182+ "-t latex|beamer|context|ms|html5" ++
183− "an output file with .pdf extension " ++
183+ "\nand specify an output file with " ++
184− "(pandoc -t latex -o filename.pdf)."
184+ ".pdf extension (-o filename.pdf)." ++
185 else e
185 else e
186 Right w -> return (w :: Writer PandocIO)
186 Right w -> return (w :: Writer PandocIO)
187
187