André Wobst venit, vidit, dixit 30.01.2016 22:32: > Hi Michael, > > Am 30.01.2016 um 17:52 schrieb Michael J Gruber > <[email protected]>: >> specials >> ======== >> >> Is there a way to silence those warnings about ignored specials (other >> than changing the overall logger level)? > > You need to write a texmessage parser for that. This might sound complicated, > but it actually is very simple. A texmessage parser is just a function being > called with one argument, a string, and it returns a string. The string it > receives is the TeX output on the console. It the texmessage parser > "understands" this message (or part of it), it has to remove this string from > the TeX output, it is responsible for. The rest of the string is to be > returned. That's it.
I don't think that the texmessage parser will catch the warnings about specials from dvi/dvifile.py... My post is really about these questions: - Why doesn't texmessage.load_def (which is used by default) catch the .fd file loads? - Why isn't texmessage.no_nav used by default? - Why aren't there defaults (or at least supplied parsers) that catch the latex messages from a standard beamer.cls run? - How do I silence dvifile.py's warnings about ignored specials without ignoring all other warnings, or to put it differently: Why are they warning and not info? texmessage.ignore and logging.ERROR are the easy way out that most users will take unless there is help from the shipped defaults (texmessage.geometry or such). Michael ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
