From: Willi Egger <w.egger@boede.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Metapost and mkiv
Date: Fri, 27 Nov 2009 14:54:53 +0100 [thread overview]
Message-ID: <3A9B12AC-0F94-4CDC-88B1-5AE7DE38F91B@boede.nl> (raw)
In-Reply-To: <200911271031.49277.alan.braslau@cea.fr>
Hi Alan,
I run in this myself. A possible solution is:
\startuniqueMPgraphic{test}
for i = 0 upto 10 :
draw thelabel(textext("\color[red]" & decimal i &""), (i, -1)
scaled 1cm);
endfor ;
\stopuniqueMPgraphic
\setupcolors[state=start]
\starttext
\uniqueMPgraphic{test}
\stoptext
KR
Willi
On Nov 27, 2009, at 10:31 AM, Alan BRASLAU wrote:
> Is this a bug in mkiv metapost?
>
> Alan
>
> minimal example:
>
> \setupcolors [state=start]
> \starttext
>
> \startuniqueMPgraphic{test}
> for i = 0 upto 10 :
> draw thelabel(decimal i, (i, 0) scaled 1cm)
> withcolor red ; % red in mkii, black in mkiv?
> endfor ;
> \stopuniqueMPgraphic
>
> \uniqueMPgraphic{test}
>
> \stoptext
> ______________________________________________________________________
> _____________
> If your question is of interest to others as well, please add an
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/
> ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ______________________________________________________________________
> _____________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-11-27 13:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-25 15:27 Problem with font mapping Mika Ritola
2009-11-25 16:47 ` Hans Hagen
2009-11-25 18:52 ` Mika Ritola
2009-11-26 10:39 ` Hans Hagen
2009-11-27 9:31 ` Metapost and mkiv Alan BRASLAU
2009-11-27 9:53 ` Hans Hagen
2009-11-27 13:54 ` Willi Egger [this message]
2009-11-28 18:28 ` Alan BRASLAU
2009-11-29 8:03 ` Taco Hoekwater
2009-11-26 12:27 ` Problem with font mapping Wolfgang Schuster
2009-11-26 15:01 ` Hans Hagen
2009-11-26 15:43 ` Wolfgang Schuster
2009-11-26 15:49 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2009-09-22 12:44 Metapost and mkiv Otared Kavian
2009-09-22 16:03 ` Hans Hagen
2009-09-22 16:45 ` Aditya Mahajan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A9B12AC-0F94-4CDC-88B1-5AE7DE38F91B@boede.nl \
--to=w.egger@boede.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).