From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60453 Path: news.gmane.org!not-for-mail From: Richard Stephens Newsgroups: gmane.comp.tex.context Subject: Multi-line labels in MetaPost MKIV Date: Wed, 28 Jul 2010 09:03:11 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0254390230==" X-Trace: dough.gmane.org 1280304233 17959 80.91.229.12 (28 Jul 2010 08:03:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2010 08:03:53 +0000 (UTC) To: Context User Group Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 28 10:03:51 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 1Oe1cE-0000qI-Cd for gctc-ntg-context-518@m.gmane.org; Wed, 28 Jul 2010 10:03:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 401DAC9C0E; Wed, 28 Jul 2010 10:03:49 +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 HFOv9DYF7H9Z; Wed, 28 Jul 2010 10:03:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56C29C9AB7; Wed, 28 Jul 2010 10:03:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79AD1C9AB7 for ; Wed, 28 Jul 2010 10:03:44 +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 IErtiS8t+8+6 for ; Wed, 28 Jul 2010 10:03:42 +0200 (CEST) Original-Received: from eu1sys200aog118.obsmtp.com (eu1sys200aog118.obsmtp.com [207.126.144.145]) by balder.ntg.nl (Postfix) with ESMTP id E2E02C9A63 for ; Wed, 28 Jul 2010 10:03:41 +0200 (CEST) Original-Received: from source ([74.125.82.43]) (using TLSv1) by eu1sys200aob118.postini.com ([207.126.147.11]) with SMTP ID DSNKTE/kXahajFm6BSHfgl+5a+Uvjtn+91UB@postini.com; Wed, 28 Jul 2010 08:03:41 UTC Original-Received: by wwc33 with SMTP id 33so747782wwc.12 for ; Wed, 28 Jul 2010 01:03:41 -0700 (PDT) Original-Received: by 10.227.157.198 with SMTP id c6mr10150440wbx.144.1280304221385; Wed, 28 Jul 2010 01:03:41 -0700 (PDT) Original-Received: by 10.216.188.4 with HTTP; Wed, 28 Jul 2010 01:03:11 -0700 (PDT) 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:60453 Archived-At: --===============0254390230== Content-Type: multipart/alternative; boundary=00163646bbdc51f58f048c6e0ec3 --00163646bbdc51f58f048c6e0ec3 Content-Type: text/plain; charset=ISO-8859-1 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. Thanks, Richard Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. http://www.converteam.com Please consider the environment before printing this e-mail. --00163646bbdc51f58f048c6e0ec3 Content-Type: text/html; charset=ISO-8859-1 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.

Thanks,

Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. 
If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.

--00163646bbdc51f58f048c6e0ec3--

--===============0254390230==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============0254390230==--