File: 2002_program_package_hint.patch

package info (click to toggle)
haskell-pandoc 3.7.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 24,532 kB
  • sloc: haskell: 86,819; xml: 4,325; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 911 bytes parent folder | download | duplicates (2)
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
@@ -85,7 +85,7 @@
     PandocSyntaxMapError s -> s
     PandocFailOnWarningError -> "Failing because there were warnings."
     PandocPDFProgramNotFoundError pdfprog ->
-        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 -> "Error producing PDF.\n" <> logmsg
     PandocXMLError fp logmsg -> "Invalid XML" <>
         (if T.null fp then "" else " in " <> fp) <> ":\n" <> logmsg