ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Colored labels with MetaPost in MkII
@ 2008-10-24  8:48 Wolfgang Schuster
  2008-10-24 13:15 ` Aditya Mahajan
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2008-10-24  8:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

what is the best method to format MetaPost labels in MkII with \doattributes.

\setupcolors[state=start]

\def\labelstyle{bold}
\def\labelcolor{red}

\starttext
\startMPcode
label(textext("\doattributes{label}{style}{color}{Label}"),origin) ;
\stopMPcode
\stoptext

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-29  7:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-24  8:48 Colored labels with MetaPost in MkII Wolfgang Schuster
2008-10-24 13:15 ` Aditya Mahajan
2008-10-24 13:32   ` Wolfgang Schuster
2008-10-27  8:28   ` Wolfgang Schuster
2008-10-28 14:47     ` Aditya Mahajan
2008-10-29  7:32       ` Wolfgang Schuster

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).