[metapost] drawdblarrow and if b0rked?

Giuseppe Bilotta gip.bilotta at iol.it
Thu Aug 28 10:41:45 CEST 2008


I'm attaching to this email a file that used to compile with
metapost. I'm not sure at what upgrade it got borked because
I haven't been compiling it in a while but now the

  drawdblarrow subpath (.11, .90) of ((cinf+i*h, markbase) -- (cinf+(i+1)*h, prevmarkbase)) if i = 2: withcolor red elseif i=parts-2: withcolor blue fi;

line causes metapost to choke on withcolor.red.elseif,
complaining about the extra elseif.


Giuseppe "Oblomov" Bilotta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grids.mp
Type: application/octet-stream
Size: 2675 bytes
Desc: not available
Url : http://tug.org/pipermail/metapost/attachments/20080828/04affe92/attachment.obj 

More information about the metapost mailing list