[metapost] Bug in 1.205?

Daniel Oehry oda at gmx.li
Tue Aug 11 22:41:57 CEST 2009


file-line-error-style output seems to be wrong if there is a input
statement.

minimal.mp
-------------------------
input TEX;
beginfig(1)
draww (0,0)--(10,10);
endfig;
end
-------------------------

mpost -file-line-error minimal.mp

produces the following output:

This is MetaPost, version 1.205 (kpathsea version 5.0.0)
(./minimal.mp (/usr/local/texlive/2009/texmf-dist/metapost/base/TEX.mp)
>> draww
/usr/local/texlive/2009/texmf-dist/metapost/base/TEX.mp:3: Isolated
expression. <to be read again> 
                   (
l.3 draww (
           0,0)--(10,10);
? 

The reference to the file TEX.mp is obviously not correct.

Thanks
Daniel


More information about the metapost mailing list