From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52497 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \sometxt inside functions Date: Sat, 22 Aug 2009 04:56:32 -0400 (EDT) Message-ID: References: <6faad9f00908220105o1290af06ybf6f84b43900b853@mail.gmail.com> <6faad9f00908220115w18eb2e14w88be8fcbb849f89@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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250931424 5838 80.91.229.12 (22 Aug 2009 08:57:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2009 08:57:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 22 10:56:57 2009 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.50) id 1MemPB-0003lQ-2Y for gctc-ntg-context-518@m.gmane.org; Sat, 22 Aug 2009 10:56:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 37530C9AAA; Sat, 22 Aug 2009 10:56:56 +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 LPl0+8kfFdH9; Sat, 22 Aug 2009 10:56:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76D59C9A8A; Sat, 22 Aug 2009 10:56:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3118FC9A8A for ; Sat, 22 Aug 2009 10:56:51 +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 x3O9zma7j-AM for ; Sat, 22 Aug 2009 10:56:48 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by balder.ntg.nl (Postfix) with ESMTP id 2B7B4C9A3D for ; Sat, 22 Aug 2009 10:56:48 +0200 (CEST) Original-Received: FROM [192.168.2.8] (c-76-28-88-45.hsd1.ct.comcast.net [76.28.88.45]) By hackers.mr.itd.umich.edu ID 4A8FB2CE.D06D4.19817 ; Authuser adityam; 22 Aug 2009 04:56:46 EDT In-Reply-To: <6faad9f00908220115w18eb2e14w88be8fcbb849f89@mail.gmail.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) 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:52497 Archived-At: On Sat, 22 Aug 2009, Mojca Miklavec wrote: > On Sat, Aug 22, 2009 at 10:05, Mojca Miklavec wrote: >> Hello Hans, >> >> is there some simple command to make the following work (in MKII)? >> (I accept "Not interested since it works in mkiv" as a valid answer :) > > Well, not that it does work in MKIV, but that's for a different reason > (textext("") doesn't complain on error, but it doesn't work either): > > ! Math error: parameter \Umathquad\displaystyle is not set. > l.1 ...{\relax \dontleavehmode \copy \strutbox $m$ > } > ...igin); enddef; ;;]===], false)} > > \processMPgraphic ...s ;\!!es , \MPaskedfigure )}} > \egroup \global \MPinstanc... > l.11 \stopMPcode > > ? > > > \starttext > > \startMPinclusions > def drawA = > label.rt(\sometxt{\strut $m$}, origin); > enddef; > \stopMPinclusions > > \startMPcode > drawA; > \stopMPcode > > \stoptext > > This is LuaTeX, Version beta-0.43.0-2009081911 > ConTeXt ver: 2009.08.19 17:10 MKIV Works fine here with This is LuaTeX, Version beta-0.43.0-2009081914 ConTeXt ver: 2009.08.19 17:10 MKIV fmt: 2009.8.21 int: english/english Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________