diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-04-13 16:49:44 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-04-15 11:53:45 +0200 |
commit | dd4110fb09aa676cb03ed9cec52b21f9e7e46a3f (patch) | |
tree | 58b4f3898f4c7e066a43b49df40d9d04285e4767 /src/Text/Pandoc | |
parent | 3d6edbd9e39dfccdd76ec32f9aa34977b7b56fe0 (diff) | |
download | pandoc-dd4110fb09aa676cb03ed9cec52b21f9e7e46a3f.tar.gz |
Revised error message for pandoc -t pdf.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/App.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs index 107ca435f..619c692a0 100644 --- a/src/Text/Pandoc/App.hs +++ b/src/Text/Pandoc/App.hs @@ -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) |