Revised error message for pandoc -t pdf.
This commit is contained in:
parent
3d6edbd9e3
commit
dd4110fb09
1 changed files with 4 additions and 4 deletions
|
@ -178,10 +178,10 @@ convertWithOpts opts = do
|
|||
Left e -> E.throwIO $ PandocAppError 9 $
|
||||
if format == "pdf"
|
||||
then e ++
|
||||
"\nTo create a pdf with pandoc, use " ++
|
||||
"the latex or beamer writer and specify\n" ++
|
||||
"an output file with .pdf extension " ++
|
||||
"(pandoc -t latex -o filename.pdf)."
|
||||
"\nTo create a pdf using pandoc, use " ++
|
||||
"-t latex|beamer|context|ms|html5" ++
|
||||
"\nand specify an output file with " ++
|
||||
".pdf extension (-o filename.pdf)." ++
|
||||
else e
|
||||
Right w -> return (w :: Writer PandocIO)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue