Mojca Miklavec wrote:
On 6/26/06, David Arnold wrote:
Mojca,
Doesn't compile at my end:
This is MetaPost, Version 0.901 (Web2C 7.5.5) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) (dblarrow-mpgraph.mp [1] ! Redundant equation. <to be read again> ; l.272 10u=w;
Do you use some other high-level command to process the MP code? (Two graphics may not be processed in the same file unless you add an assignment instead.) What happens if you write u:=w/10?
To Hans: thanks for the hint! (Slowly starting to believe that the code might indeed reach 4 lines ;)
another one: vardef mytransform(expr pathorpicture) = pathorpicture if reflect=2: reflectedabout((0,0),(1,1)) elseif reflect=3: reflectedabout((0,0),(1,-1)) elseif reflect=4: reflectedabout((-1,0),(1,0)) fi enddef; -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------