ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Parsing ConTeXt errors
@ 2016-10-11 13:27 Nicola
  2016-10-11 18:52 ` Alan Braslau
  0 siblings, 1 reply; 7+ messages in thread
From: Nicola @ 2016-10-11 13:27 UTC (permalink / raw)
  To: ntg-context

Hello,

I'm trying to parse ConTeXt errors. TeX and Lua errors seem easy to parse
(search for 'tex error' and 'lua error', respectively), but I have a couple of
problems with MetaPost messages.

First, when there are MetaPost errors, context/mtxrun exits with a zero exit
code. Is that intentional?

Second, as far as I see, there is no way to locate the error in the source
from the log. I can only retrieve the file causing the error (by searching for
an 'open source' line - very useful, btw), but no line number.

Am I missing something? I think it would be very useful to have at least an
approximate indication of the position of a MetaPost error.

Nicola



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-10-13 19:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-11 13:27 Parsing ConTeXt errors Nicola
2016-10-11 18:52 ` Alan Braslau
2016-10-11 19:37   ` Nicola
2016-10-11 22:13     ` Hans Hagen
2016-10-12  7:30       ` Nicola
2016-10-13 18:37         ` Hans Hagen
2016-10-13 19:00           ` Nicola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).