Since some weeks I have strange problems with MetaPost in MKIV (beta). The attached example should (and did in the past) output a central box ("Fakt") surrounded by five boxes named "Dimension". However some of them (in that particular example one) is drawn wrong: the box is on the right spot, but the label seems to be at 0,0. It seems to happen whenever the boxes are drawn from within a loop - at least all of my problems with boxes show similar symptoms and only occur within loops. Any ideas what goes wrong here?
Andreas Schneider wrote:
Since some weeks I have strange problems with MetaPost in MKIV (beta). The attached example should (and did in the past) output a central box ("Fakt") surrounded by five boxes named "Dimension". However some of them (in that particular example one) is drawn wrong: the box is on the right spot, but the label seems to be at 0,0. It seems to happen whenever the boxes are drawn from within a loop - at least all of my problems with boxes show similar symptoms and only occur within loops.
Any ideas what goes wrong here?
Probably a metapost bug, I'll check.
On 08/14/2010 05:40 PM, taco wrote:
Andreas Schneider wrote:
Since some weeks I have strange problems with MetaPost in MKIV (beta). The attached example should (and did in the past) output a central box ("Fakt") surrounded by five boxes named "Dimension". However some of them (in that particular example one) is drawn wrong: the box is on the right spot, but the label seems to be at 0,0. It seems to happen whenever the boxes are drawn from within a loop - at least all of my problems with boxes show similar symptoms and only occur within loops.
Any ideas what goes wrong here?
Probably a metapost bug, I'll check.
There were actually two metapost bugs from that single example. Next week's luatex beta will have a fix for both. Bug 1: show "45">"["; % 1.502 gives true, should be false Bug 2: pair a[]b; a1b = (50,50); pair a[]c; show known a1b; % 1.502 gives false, should be true Best wishes, Taco
Taco Hoekwater wrote:
There were actually two metapost bugs from that single example. Next week's luatex beta will have a fix for both.
Since I need this fix pretty soon, I thought a svn checkout and build might be a good idea. Getting luatex 0.62 beta compiled and running wasn't a problem, but the error with metapost still persists. ("This is LuaTeX, Version beta-0.62.0-2010082217 (rev 3815)") Is there anything else I would need to get the fix in? Is it in a branch or is metapost even a lib on it's own? (It seemed to be statically linked, but I'm not completely sure if I missed something, so I better ask - which I hereby do.) Thanks in advance! Andreas.
Andreas Schneider wrote:
Taco Hoekwater wrote:
There were actually two metapost bugs from that single example. Next week's luatex beta will have a fix for both.
The fix is still in the metapost repository. I'll release a new luatex beta tomorrow morning (with the fix). Best wishes, Taco
participants (3)
-
Andreas Schneider
-
taco
-
Taco Hoekwater