Mojca Miklavec wrote:
On 11/3/06, Aditya Mahajan wrote:
On Thu, 2 Nov 2006, Paul Jones wrote:
On 11/2/06, Mojca Miklavec wrote:
% "draw \sometxt{forever} withcolor red" is broken at the moment, % but used to/should(?) work otherwise
Thanks for the hint. I don't know anything about mp. Is there a replacement for the broken draw \sometxt?
Well ... I meant "broken" in the sense that "draw \sometxt{this} withcolor red" is black instead of being red, but it should work unless your ConTeXt distribution is too old.
draw \sometxt{\red{forever}} ;
should work.
True.
Now on a question of my own, is it possible to redefine \sometxt so that
\sometxt{abc}
is equivalent to
\sometxt{\mymacro{abc}}
I find myself writing a lot of code like this
label.top(\sometxt{\parbox{A long label}}, z1 ) ;
This is really low priority, but something like this will be nice to have.
Here's my vote as well. I would also like to have a mechanism which would enable easier definition of commands to be processed with \sometxt at the end. (I used some very dirty macros which redefined \sometxt temporary for that purpose, but that's far from ideal.)
hm, always hungry for new features ... i assume that one of you then writes a nice myway about \sometxt cum suis as well as a wiki entry next beta: % \definetextext[framed]{\framed} % % \startMPcode % draw \sometxt[framed]{black} rotated 45 ; % \stopMPcode Hans -- ----------------------------------------------------------------- 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 -----------------------------------------------------------------