From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Re: Context, Metapost \sometxt and color
Date: Sat, 2 Dec 2006 19:38:33 +0100 [thread overview]
Message-ID: <6faad9f00612021038v7bdf6cf5mdb23dacce95b8575@mail.gmail.com> (raw)
In-Reply-To: <4571C64D.5010106@cs.com>
On 12/2/06, Wim Neimeijer wrote:
> Hi
>
> The following used to work, the text came out in the color red, now it
> is shown in black.
> Am I doing something wrong here ? Or should I use something else instead ?
> Any help appreciated
Add
\chardef\TeXtextcolormode\zerocount
to your document or cont-usr.tex.
(an alternative is to use \sometxt{\color[red]{something}})
Or even better: vote for it to become the default value before "color
stacks" are implemented (at least that's what I understood).
Hans had to add a feature and fix a little bug in \sometxt on my
request, but I don't understand why "one" is the default value now
either.
> % example code
> \setupcolors[state=start]
> \starttext
> \startMPcode
> picture p;
> p := \sometxt{$R_{\mu \nu } - \frac{1}{2} R - \Lambda g_{\mu \nu} =
> \kappa T_{\mu \nu}$} ;
> p := p scaled 3;
> draw p withcolor red;
> \stopMPcode
> \stoptext
Mojca
prev parent reply other threads:[~2006-12-02 18:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-02 18:30 Wim Neimeijer
2006-12-02 18:38 ` Mojca Miklavec [this message]
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=6faad9f00612021038v7bdf6cf5mdb23dacce95b8575@mail.gmail.com \
--to=mojca.miklavec.lists@gmail.com \
--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).