ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: colored labels in mp
Date: Fri, 27 Mar 2009 14:10:01 +0100	[thread overview]
Message-ID: <87A348D2-CCA0-4488-BF05-75E2FDDC4209@uni-bonn.de> (raw)
In-Reply-To: <a09128560903270558o65e7beb1rd2bedf27e49d7e61@mail.gmail.com>


On Mar 27, 2009, at 1:58 PM, Lutz Haseloff wrote:

>
>
> 2009/3/27 Wolfgang Schuster <schuster.wolfgang@googlemail.com>
>
> Am 27.03.2009 um 13:37 schrieb Eythan Weg:
>
>
> Hi, the following does not seem to use color.  Am
> I missing something?  Never used this feature
> before...
>
> I use mkiv with luatex 0.36.
>
> \startMPcode
> draw  thelabel(btex RED  etex, (0,0))  withcolor blue;
>
> label(\textext{\red RED},origin) ;
> gives:
>
> Undefined control sequence.
> <argument> label(\textext
>                           {\red RED},origin) ;
> \processMPgraphic ...zations ;\theMPrandomseed ;#1
>                                                   ;\!!es , \@EA \@EA  
> \@EA \!...
> l.7 \stopMPcode


I think what Wolfgang meant was

label(textext("\red RED"), origin)

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2009-03-27 13:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27 12:37 Eythan Weg
2009-03-27 12:45 ` Wolfgang Schuster
2009-03-27 12:58   ` Lutz Haseloff
2009-03-27 13:04     ` Wolfgang Schuster
2009-03-27 13:10     ` Thomas A. Schmitz [this message]
2009-03-27 16:43   ` Eythan Weg
2009-03-27 17:17     ` Wolfgang Schuster
2009-03-27 17:38     ` 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=87A348D2-CCA0-4488-BF05-75E2FDDC4209@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).