@@ -85,8 +85,8 @@ handleError (Left e) =
85 if sourceName errPos == "source"
85 if sourceName errPos == "source"
86 then errorInFile
86 then errorInFile
88− PandocMakePDFError s -> err 65 s
88+ PandocMakePDFError s -> err 66 s
89− PandocOptionError s -> err 2 s
89+ PandocOptionError s -> err 6 s
90 PandocSyntaxMapError s -> err 67 s
90 PandocSyntaxMapError s -> err 67 s
91 PandocFailOnWarningError -> err 3 "Failing because there were warnings."
91 PandocFailOnWarningError -> err 3 "Failing because there were warnings."
92 PandocPDFProgramNotFoundError pdfprog -> err 47 $
92 PandocPDFProgramNotFoundError pdfprog -> err 47 $
@@ -99,7 +99,7 @@ handleError (Left e) =
99 PandocResourceNotFound fn -> err 99 $
99 PandocResourceNotFound fn -> err 99 $
100 "File " ++ fn ++ " not found in resource path"
100 "File " ++ fn ++ " not found in resource path"
101 PandocTemplateError s -> err 5 $ "Error compiling template " ++ s
101 PandocTemplateError s -> err 5 $ "Error compiling template " ++ s
102− PandocAppError s -> err 1 s
102+ PandocAppError s -> err 4 s
103 PandocEpubSubdirectoryError s -> err 31 $
103 PandocEpubSubdirectoryError s -> err 31 $
104 "EPUB subdirectory name '" ++ s ++ "' contains illegal characters"
104 "EPUB subdirectory name '" ++ s ++ "' contains illegal characters"
105 PandocMacroLoop s -> err 91 $
105 PandocMacroLoop s -> err 91 $