From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52494 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: \sometxt inside functions Date: Sat, 22 Aug 2009 10:05:57 +0200 Message-ID: <6faad9f00908220105o1290af06ybf6f84b43900b853@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 1250928374 31455 80.91.229.12 (22 Aug 2009 08:06:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2009 08:06:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 22 10:06:07 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 1Melbz-0005vF-FS for gctc-ntg-context-518@m.gmane.org; Sat, 22 Aug 2009 10:06:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ACEE7C9A9B; Sat, 22 Aug 2009 10:06:04 +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 SRD2QQCMSlXK; Sat, 22 Aug 2009 10:06:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21C0BC9A8A; Sat, 22 Aug 2009 10:06:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5375C9A8A for ; Sat, 22 Aug 2009 10:05:59 +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 qboqFIxQKsH4 for ; Sat, 22 Aug 2009 10:05:57 +0200 (CEST) Original-Received: from mail-ew0-f223.google.com (mail-ew0-f223.google.com [209.85.219.223]) by balder.ntg.nl (Postfix) with ESMTP id AB11AC9A7C for ; Sat, 22 Aug 2009 10:05:57 +0200 (CEST) Original-Received: by ewy23 with SMTP id 23so1446431ewy.8 for ; Sat, 22 Aug 2009 01:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=zRc8mddz9JShsVIqB3Ul+TU1W//sahK/SY2fptuU/5Q=; b=EMoP22wP9hP+k5aKm5YpnSnqqHbDGSuNo4GrI94nz6DZClCDcPe+OgxkRCJ/XG4fVR MreXnRAdaK3tJ8ipp41/79ZB/rSmEynp5b78fFAmkwYGMylO2S9ZlfbARf9NleJ6ubaz sicQEBbcXoFCJqbciEHDZ7UwIp7ipoL8/wkok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=mPAQu/tygYAt1dXSfqR50sEbNP1iwoy9bONxyi/lcmVDgwXdwkqWah8wpE6iUfkqp6 6OSJnmqMhPxBfApcyNfFihkLgm539ZPOte0Jjt8G+jNrrLKAYi0dA/QmcjOUuv1cIixO s3lS8v8ZKd2Mnm1/ke4yTjds853BIZB80NBUc= Original-Received: by 10.216.45.78 with SMTP id o56mr403247web.152.1250928357482; Sat, 22 Aug 2009 01:05:57 -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:52494 Archived-At: 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 :) \starttext % makes sure that textext("") works; is there an equivalent for \sometxt? \forceMPTEXcheck{drawA} \startMPinclusions def drawA = draw fullcircle scaled 3cm; label.top(btex top etex, (0,5cm)); % OK label.rt(\sometxt{right}, (5cm,0)); % nothing label.bot(textext("bottom"), (0,-5cm)); % OK enddef; \stopMPinclusions \startMPcode drawA; \stopMPcode \stoptext Thanks, Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________