From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45061 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Colored labels with MetaPost in MkII Date: Fri, 24 Oct 2008 10:48:41 +0200 Message-ID: <115224fb0810240148o31a5b87blacbac5bc7caca9a@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224838222 22511 80.91.229.12 (24 Oct 2008 08:50:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2008 08:50:22 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 24 10:51:22 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KtIO9-00051i-Aj for gctc-ntg-context-518@m.gmane.org; Fri, 24 Oct 2008 10:51:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B6EAD1FC90; Fri, 24 Oct 2008 10:50:13 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27777-01-8; Fri, 24 Oct 2008 10:49:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F146D1FC0B; Fri, 24 Oct 2008 10:49:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9572A1FC0B for ; Fri, 24 Oct 2008 10:49:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27777-01-7 for ; Fri, 24 Oct 2008 10:48:46 +0200 (CEST) Original-Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.145]) by ronja.ntg.nl (Postfix) with ESMTP id 199E11FB8F for ; Fri, 24 Oct 2008 10:48:41 +0200 (CEST) Original-Received: by ey-out-1920.google.com with SMTP id 21so228767eyc.38 for ; Fri, 24 Oct 2008 01:48:41 -0700 (PDT) Original-Received: by 10.103.244.19 with SMTP id w19mr870416mur.68.1224838121724; Fri, 24 Oct 2008 01:48:41 -0700 (PDT) Original-Received: by 10.103.215.10 with HTTP; Fri, 24 Oct 2008 01:48:41 -0700 (PDT) Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:45061 Archived-At: 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 ___________________________________________________________________________________