[metapost] Finding line containg error in Metapost file

Peter Zeman andrej.kupecky at gmail.com
Tue Jul 9 01:18:38 CEST 2013


I would like to ask whether it is "algorithmically" possible to find
the line with error in a metapost file just with the information given
by "mpost". I mean, is the line with error uniquely determined by the
output of "mpost"?

I would like to write a program, which tells me the line containing
error. I know, that metapost gives me a line, but I would like to know
the exact line. For example if I have a macro with an error, I don't
want the line where the macro was used, but the line in the macro,
which contains the error. Is this possible?

Thank you for your answers.

Peter Zeman

More information about the metapost mailing list