[metapost] dependencies bug

Daniel H. Luecking luecking at uark.edu
Tue Jul 15 18:56:19 CEST 2014


In case it is important, Metapost 1.902 (TeX Live 2014)
has the same behavior.

Dan

Daniel H. Luecking
Department of Mathematical Sciences
University of Arkansas
Fayetteville, Arkansas
________________________________
From: metapost [metapost-bounces at tug.org] on behalf of Vadim Radionov [vadim.radionov at gmail.com]
Sent: Tuesday, July 15, 2014 11:03 AM
To: metapost at tug.org
Subject: [metapost] dependencies bug

Dear all,

My colleague found a bug in Metapost 1.803 which I would lile to report.  In the following minimal example, showdependencies shows something inappropriate, which gives "This can't happen (dep)" error later.  But if I move the third s-relation after setting z[4,6,8], everything works fine.

Vadim

def s(expr A,B,C,D)=
D-C=B-A=((B-D) rotated 90)
enddef;

beginfig(1);
s(z3,z4,z7,z8);
s(z4,z5,z6,z11);
s(z6,z12,z8,z10);

showdependencies;

z4 = (0,0);
z6 = (1cm,0);
z8 = (0,1cm);


endfig;
bye
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20140715/346328cd/attachment.html>


More information about the metapost mailing list