ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: some minor problems (mkiv)
Date: Fri, 16 May 2008 14:44:32 +0200	[thread overview]
Message-ID: <482D81B0.7040604@gmx.net> (raw)
In-Reply-To: <482D72D6.5060506@elvenkind.com>

Taco Hoekwater schrieb:
> 
> Peter Rolf wrote:
>> hi,
>>
>> i'm still trying to make my code run with mkiv. here are two minor 
>> problems. the first one is easy to deal with, but the second one 
>> currently breaks my testbed.
>>
>>
>> % engine=luatex
>> \setupcolors[state=start]
>>
>> \starttext
>>
>> \startMPcode
>> label("no color",origin) withcolor red; % always black
>> \stopMPcode
> 
> Interesting problem, that one. The lack of color is easily explained
> because there is an implied textext() around the string., but it is
> not that easily solved, I suspect.
>
i currently use sometxt() instead (was label because of much better 
runtime in mkii). i guess it's one of the last places where i use text 
inside mp, so it doesn't hurt that much. mh, maybe i should extract the 
outlines (it's only one char) instead.

>> \string{\{}
> 
> Side note wrt. the example: don't you want \string\{ instead?
> 
nope. the argument is a formal macro description with parameters in 
braces and brackets. it's part of the testbed for my graphic macros.

> Anyway, the underlying problem is something for Aditya to look at,
> maybe. Too many commands are now 'math mode only' because of changes
> in char-def.lua.
>
thanks for the detailed answer.

best wishes, peter


> Best wishes,
> Taco
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 

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


  reply	other threads:[~2008-05-16 12:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-16 11:12 Peter Rolf
2008-05-16 11:41 ` Taco Hoekwater
2008-05-16 12:44   ` Peter Rolf [this message]
2008-05-17 15:46   ` Hans Hagen
2008-05-16 11:42 ` Wolfgang Schuster
2008-05-16 12:57   ` Peter Rolf

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=482D81B0.7040604@gmx.net \
    --to=indiego@gmx.net \
    --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).