1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Improve error message when pdf program is missing
Author: Chris Lamb <lamby@debian.org>
Author: Jonas Smedegaard <dr@jones.dk>
License: GPL-3+
Last-Update: 2018-09-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/Text/Pandoc/Error.hs
+++ b/src/Text/Pandoc/Error.hs
@@ -96,7 +96,7 @@
PandocSyntaxMapError s -> err 67 s
PandocFailOnWarningError -> err 3 "Failing because there were warnings."
PandocPDFProgramNotFoundError pdfprog -> err 47 $
- pdfprog <> " not found. Please select a different --pdf-engine or install " <> pdfprog
+ pdfprog <> " not found. Please select a different --pdf-engine or install " <> pdfprog <> " -- see also /usr/share/doc/pandoc/README.Debian"
PandocPDFError logmsg -> err 43 $ "Error producing PDF.\n" <> logmsg
PandocFilterError filtername msg -> err 83 $ "Error running filter " <>
filtername <> ":\n" <> msg
|