Hi all again. I've also added to file text.py code to manage the warning
messages reported by the amsmath package. They look like:
Package amsmath Warning: Foreign command \over;
(amsmath) \frac or \genfrac should be used instead
(amsmath) on input line 56.
The code is:
texmessage.packagewarning =
texmessagepattern(re.compile(r"^package\s+(?P<packagename>\S+)\s+warning\s*:
[^\n]+(?:\n\(?(?P=packagename)\)?[^\n]*)*", re.MULTILINE | re.IGNORECASE),
"ignoring generic package warning")
which I've added after the definition of texmessage.rerunwarning. Of course
the definitions of both defaulttexmessagesend and
defaulttexmessagesdefaultrun must be modified to also include the new
texmessage.packagewarning RE.
Hope this helps, best regards.
|