summaryrefslogtreecommitdiff
path: root/support/chktex/FindErrs.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-19 03:01:25 +0000
committerNorbert Preining <norbert@preining.info>2022-10-19 03:01:25 +0000
commit7b6cdf4c23e6ed232601dabc70f5553a8dee9c9b (patch)
tree608a2d05e7d0ffa5cde10be67db643ae542dc280 /support/chktex/FindErrs.h
parent0b311348359e1406b173d9c0de4974af3e90f836 (diff)
CTAN sync 202210190301
Diffstat (limited to 'support/chktex/FindErrs.h')
-rw-r--r--support/chktex/FindErrs.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/support/chktex/FindErrs.h b/support/chktex/FindErrs.h
index df38559ba3..8190da2168 100644
--- a/support/chktex/FindErrs.h
+++ b/support/chktex/FindErrs.h
@@ -128,7 +128,13 @@
MSG(emDisplayMath, etWarn, iuOK, ctOutMath,\
"Use \\[ ... \\] instead of $$ ... $$.")\
MSG(emInlineMath, etWarn, iuNotSys, ctOutMath,\
- "Use \\( ... \\) instead of $ ... $.")
+ "Use \\( ... \\) instead of $ ... $.")\
+ MSG(emExpectConTeXt, etWarn, iuOK, ctNone,\
+ "`%s' expected, found `%s' (ConTeXt).")\
+ MSG(emNoMatchConTeXt, etWarn, iuOK, ctNone,\
+ "No match found for `%s' (ConTeXt).") \
+ MSG(emMathModeConfusion, etWarn, iuOK, ctNone,\
+ "Expected math mode to be %s here.")
#undef MSG
#define MSG(num, type, inuse, ctxt, text) num,
@@ -193,8 +199,8 @@ extern char *OutputFormat;
int CheckSilentRegex(void);
int FindErr(const char *, const unsigned long);
-void PrintError(const char *, const char *, const long, const long,
- const long, const enum ErrNum, ...);
+void PrintError(const enum ErrNum, const char *, const char *, const long,
+ const long, const long, ...);
void PrintStatus(unsigned long Lines);
#endif /* FINDERRS */