From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: staticMPfigure
Date: Fri, 11 Apr 2008 09:44:22 +0200 [thread overview]
Message-ID: <47FF16D6.4050808@wxs.nl> (raw)
In-Reply-To: <6faad9f00804101538wd52b9a8je3bc97218d8fd76f@mail.gmail.com>
Mojca Miklavec wrote:
> On Fri, Apr 11, 2008 at 12:23 AM, Aditya Mahajan wrote:
>> On Fri, 11 Apr 2008, Mojca Miklavec wrote:
>>
>> > On Thu, Apr 10, 2008 at 11:41 PM, Aditya Mahajan wrote:
>> >> On Thu, 10 Apr 2008, Hans Hagen wrote:
>> >>
>> >> > works ok on my machine using pdftex but luatex gives an unknown (have to
>> >> > look into it)
>> >>
>> >> Another test case, I ran into today.
>> >>
>> >> \setupcolors[state=start,textcolor=red]
>> >>
>> >> \starttext
>> >>
>> >> \startMPcode
>> >> draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} ;
>> >
>> > Do you mean \MPcolor{currentcolor}?
>>
>> Hangs head in shame :(. I need to learn how to read the sources correctly.
>>
>> Of course, currentcolor is much better than \@@themaintextcolor. I just
>> did not know that it existed.
>
> Well ... I knew accidentally (since I have requested it). It's
> mentioned in \sometxt MyWay, but that's rather well hidden as well.
you just kept it secret ... i made 'currentcolor' for you -)
anyhow ... using commands with @@ in it is usually a bad idea
\unprotect
\startMPcode
draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} ;
\stopMPcode
\protect
might have worked
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-04-11 7:44 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4251.1207220924.4340.ntg-context@ntg.nl>
2008-04-10 15:57 ` staticMPfigure Wolfgang Werners-Lucchini
2008-04-10 16:10 ` staticMPfigure Hans Hagen
2008-04-10 21:41 ` staticMPfigure Aditya Mahajan
2008-04-10 22:01 ` staticMPfigure Mojca Miklavec
2008-04-10 22:23 ` staticMPfigure Aditya Mahajan
2008-04-10 22:38 ` staticMPfigure Mojca Miklavec
2008-04-11 7:44 ` Hans Hagen [this message]
2008-04-11 10:31 ` staticMPfigure Mojca Miklavec
2008-04-11 12:16 ` staticMPfigure Hans Hagen
2008-06-10 10:02 staticMPfigure bbvogel
2008-06-10 12:50 ` staticMPfigure Hans Hagen
2008-06-10 13:31 ` staticMPfigure bbvogel
2008-06-10 14:18 ` staticMPfigure Peter Rolf
2008-06-11 6:57 ` staticMPfigure bbvogel
2008-06-11 9:41 ` staticMPfigure bbvogel
2008-06-11 10:07 ` staticMPfigure Peter Rolf
2008-06-11 11:41 ` staticMPfigure bbvogel
2008-06-11 12:27 ` staticMPfigure Peter Rolf
-- strict thread matches above, loose matches on Subject: below --
2008-04-02 20:22 staticMPfigure Wolfgang Werners-Lucchini
2008-04-03 9:12 ` staticMPfigure Taco Hoekwater
2008-04-03 10:19 ` staticMPfigure Hans Hagen
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=47FF16D6.4050808@wxs.nl \
--to=pragma@wxs.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).