6 Aug
2009
6 Aug
'09
8:01 p.m.
Matthew Claus wrote:
This minimal example works with "texexec example.tex" but fails with "context example.tex".
\startMPinclusions input metaobj; \stopMPinclusions
\starttext \startMPpage newBox.a(\sometxt{hello world}); a.c = origin; drawObj(a);
\stopMPpage \stoptext
Is this expected to work (I realize the 0.42.0 is very new)
I am not surprised it fails. Most metapost code in mkiv is run at least twice for some reason, and so equations tend to fail. You could try with \startMPpage newBox.a(\sometxt{hello world}); a.c := origin; drawObj(a); \stopMPpage but even then it depends on what newBox does internally. Best wishes, Taco