[metapost] Metapost: generisize() bug

Eddie Kohler kohler at cs.ucla.edu
Mon Mar 17 22:32:31 CET 2008


Hi,

TeX Live 2007 appears to introduce a bug in the MetaPost boxes.mp 
"generisize()" function, visible via generic_declare and generic_redeclare. 
Suffixes like "[0]" are no longer accepted.

The following input file demonstrates the bug.

input boxes;
beginfig(1)
    _n_ := "blah[0]";
    generic_declare(pair) _n;
endfig;

The workaround is to use "blah0" instead of "blah[0]", but the bug should be fixed.

Thanks,
Eddie Kohler
UCLA


More information about the metapost mailing list