Mojca Miklavec wrote:
>
> The "real problem" appears in the following figure where the first
> black is ignored and the second one is not, so it's rather
> inconsistent:
It is not really inconsistent, the rule is very simple:
all use of "withcolor <black>" upto the first non-zero color
is ignored by metapost.
> I can image a "fair solution" to draw "withcolor black" in black and
> to let the parts with no explicit color and an empty drawoptions()
> string to use the "default color" (perhaps with gsave/grestore). But
> I'm not entitled to judge about it.
Yes, that's what I thought. But I need to patch metapost for
that, so that solution won't be available in a reliable way
for quite some time yet.
> In any case I'll have to use a solution which will not depend on this
> behaviour. Is there any chance to get "withcolor somecolor", where
> "somecolor" is the color set with "textcolor=somecolor"?
Maybe withcolor \MPcolor{textcolor} ? (I am guessing)
Cheers, Taco
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context