mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 10:23:04 -05:00
add log hints for new chktex messages
This commit is contained in:
parent
cb4f6391a2
commit
090f10e3be
1 changed files with 18 additions and 1 deletions
|
@ -102,5 +102,22 @@ define -> [
|
||||||
humanReadableHint: """
|
humanReadableHint: """
|
||||||
You have used an open bracket without a corresponding close bracket.
|
You have used an open bracket without a corresponding close bracket.
|
||||||
"""
|
"""
|
||||||
|
, ruleId: "hint_mismatched_environment2"
|
||||||
|
regexToMatch: /Error: `\\end\{([^\}]+)\})' expected but found `\\end\{([^\}]+)\}'.*/
|
||||||
|
newMessage: "Error: environment does not match \\begin{$1} ... \\end{$2}"
|
||||||
|
humanReadableHint: """
|
||||||
|
You have used \\begin{...} without a corresponding \\end{...}.
|
||||||
|
"""
|
||||||
|
, ruleId: "hint_mismatched_environment3"
|
||||||
|
regexToMatch: /Error: No matching \\end found for `\\begin\{([^\}]+)\}'.*/
|
||||||
|
newMessage: "Error: No matching \\end found for \\begin{$1}"
|
||||||
|
humanReadableHint: """
|
||||||
|
You have used \\begin{...} without a corresponding \\end{...}.
|
||||||
|
"""
|
||||||
|
, ruleId: "hint_mismatched_environment3"
|
||||||
|
regexToMatch: /Error: Found `\\end\{([^\}]+)\}' without corresponding \\begin.*/
|
||||||
|
newMessage: "Error: Found \\end{$1} without a corresponding \\begin{$1}"
|
||||||
|
humanReadableHint: """
|
||||||
|
You have used \\begin{...} without a corresponding \\end{...}.
|
||||||
|
"""
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue