Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Warnings datatype
List of possible warnings.
UnusedLabel Text | There is an unused label. Argument is its name. |
UndefinedLabel Text | There is a reference to an undefined label. Arguments is the name. |
NoClassSelected | No class selected with |
NoDocumentInserted | No |
CustomWarning Text | Custom warning for custom checkings. Use it as you want. |
A TeXCheck
is a function that checks possible warnings from a LaTeX
value.
Use the Monoid
instance to combine check functions.
Several checkings
checkLabels :: TeXCheck Source #
Checking for unused labels or references tu undefined labels.
checkClass :: TeXCheck Source #
Check if a document class is specified for the document (using documentclass
).
Complete checking
Check with checkLabels
, checkClass
and checkDoc
.