From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60454 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Multi-line labels in MetaPost MKIV Date: Wed, 28 Jul 2010 10:10:31 +0200 Message-ID: <4C4FE5F7.7020904@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1280304647 19327 80.91.229.12 (28 Jul 2010 08:10:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2010 08:10:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 28 10:10:44 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe1ir-0003gH-EG for gctc-ntg-context-518@m.gmane.org; Wed, 28 Jul 2010 10:10:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C11DBC9C01; Wed, 28 Jul 2010 10:10:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4gyG1mjm1cfB; Wed, 28 Jul 2010 10:10:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB7AEC9B92; Wed, 28 Jul 2010 10:10:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 13495C9B92 for ; Wed, 28 Jul 2010 10:10:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id l+li8CfzPuC4 for ; Wed, 28 Jul 2010 10:10:33 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by balder.ntg.nl (Postfix) with ESMTP id 8FF6DC9A9C for ; Wed, 28 Jul 2010 10:10:33 +0200 (CEST) Original-Received: by fxm20 with SMTP id 20so1240772fxm.14 for ; Wed, 28 Jul 2010 01:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=gviBde7+wueQxq09sIQK/AtN2nwSvPyT9Wj5YNSvbcg=; b=HJdWVgIDiCOVSV4aNqGY1U4SzhoHAhdKzCYIrecWO4cfxj4h0iWnm0qFYzn79CN+s1 8E2bw9C65Ytv7rAi0FYi/rJPU8ML7JstRx6hm8MKgCx0Iys1inns8zSJSt61RALrLC7w zpSHhqphx38YEEo999oiOkfuoM7k3YgiSOFFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=PHW6PTCLFIz+3eIJRWYhEREmsxeZs/qWJCS+aauAAmtw6aXCGOL0XxP9vDI4z4R4/1 GGqcTFeCVRGk0HZw7hJlKhtsybQAr9/rFfGrqRfnAOizAUFCvA93QgwwRloKZKsJZcQW MMWIr/SE2Lc9JCbf89yeUMUb7o3LLYtm87/L0= Original-Received: by 10.103.124.4 with SMTP id b4mr1229918mun.101.1280304633179; Wed, 28 Jul 2010 01:10:33 -0700 (PDT) Original-Received: from meta.fritz.box ([188.105.225.62]) by mx.google.com with ESMTPS id y2sm2458006fau.36.2010.07.28.01.10.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Jul 2010 01:10:32 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:60454 Archived-At: Am 28.07.10 10:03, schrieb Richard Stephens: > Hello all, > > What is the recommended method for creating multi-line labels in > MetaPost in MKIV, please? > I have the following code: > > \definetextext[mplabel]{\framed[frame=off,align=middle]} > \starttext > \startMPpage > input mp-tool; > > draw fullcircle scaled 5cm; > label(\sometxt[mplabel]{One\\Two}, (0,0)); > \stopMPpage > \stoptext > > which gives a line feed between One and Two using MKII, but no line > feed in MKIV. \defineframed[mplabel][frame=off,align=middle] \starttext \startMPpage draw fullcircle scaled 5cm ; label(textext("\mplabel{One\\Two}"),origin)) ; \stopMPpage \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________