[metapost] MPEDIT env var

Karl Koeller karlkoeller at googlemail.com
Tue May 17 18:00:17 CEST 2011


I have a question:

I use WinEdt as my editor.

It sets the environment variables TEXEDIT, MFEDIT and MPEDIT to itself 
for 'e' response to errors.

e.g. TEXEDIT=WinEdt.exe "[Open(|%s|);SelPar(%d,7)]"

and it works fine. WinEdt opens the file at the line corresponding to 
the error.

Instead, when I do the same with metapost, WinEdt opens the file, but 
the line is the last used, not the line where the error is found.
And the sintax is the same:

MPEDIT=WinEdt.exe "[Open(|%s|);SelPar(%d,7)]"

Any idea on how to set MPEDIT to act the same way as TEXEDIT?

Thanks...........


More information about the metapost mailing list