Hi Peter,
Peter Rolf wrote:
If someone can solve this problem I would be very glad.
Adding a semicolon after the 'endgroup' command removes
the error.
Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
Taco Hoekwater wrote:
Hi Peter,
Peter Rolf wrote:
If someone can solve this problem I would be very glad.
Adding a semicolon after the 'endgroup' command removes
the error.
(I just looked at your pdf document).
You probably want 'useMPgraphic' instead of 'uniqueMPgraphic'.
Taco
Taco Hoekwater wrote:
Taco Hoekwater wrote:
Hi Peter,
Peter Rolf wrote:
If someone can solve this problem I would be very glad.
Adding a semicolon after the 'endgroup' command removes
the error.
_Thank you very much, Taco!_ I have spent several hours to fix this MP
error, without any
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
Taco Hoekwater wrote:
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
Taco Hoekwater wrote:
Taco Hoekwater wrote:
Hi Peter,
Peter Rolf wrote:
If someone can solve this problem I would be very glad.
Adding a semicolon after the 'endgroup' command removes
the error.
(I just looked at your pdf document).
You probably want 'useMPgraphic' instead of
Hi all,
Currently I am using
\startuniqueMPgraphic{foo}
...
if (\DbgFill=0) :
fill whatever
fi
...
\stopuniqueMPgraphic
in my MP graphics. \DbgFill (0|1) is just a trigger, which prevents
filling in case of visual debugging. Instead of always writing this
'long' form, it should be
Peter Rolf wrote:
Hi all,
Currently I am using
\startuniqueMPgraphic{foo}
...
if (\DbgFill=0) :
fill whatever
fi
...
\stopuniqueMPgraphic
in my MP graphics. \DbgFill (0|1) is just a trigger, which prevents
filling in case of visual debugging. Instead of always writing