4 Aug
2006
4 Aug
'06
2:42 p.m.
Peter Rolf wrote:
BTW: Why do I need a semicolon after 'endgroup', but (in most cases) not after 'fi', 'endfor'?
You need a semicolon at the end of a statement. The <if> and <loop> constructs are not statements, they are preprocessed. You get the 'extra tokens' error when Metapost sees something like endgroup a:=1; because it knows that 'endgroup' can only be a statement on its own.
(I just looked at your pdf document).
You probably want 'useMPgraphic' instead of 'uniqueMPgraphic'.
I'm not sure what you mean. Using 'useMPgraphic' to load all kind of MP graphics?
You have to use \startuseMPgraphic and \useMPgraphic instead of \startuniqueMPgraphic, otherwise the output of both images will be identical. Cheers, Taco