From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52495 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: \sometxt inside functions Date: Sat, 22 Aug 2009 10:15:47 +0200 Message-ID: <6faad9f00908220115w18eb2e14w88be8fcbb849f89@mail.gmail.com> References: <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 1250928971 656 80.91.229.12 (22 Aug 2009 08:16:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2009 08:16:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 22 10:16:04 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 1Mella-0000UJ-Nj for gctc-ntg-context-518@m.gmane.org; Sat, 22 Aug 2009 10:16:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AAC21C9A9B; Sat, 22 Aug 2009 10:15: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 GZGmZIHtk2p9; Sat, 22 Aug 2009 10:15:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 74FE2C9A8A; Sat, 22 Aug 2009 10:15:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3FC12C9A8A for ; Sat, 22 Aug 2009 10:15:50 +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 zp+Iy1L4GWy7 for ; Sat, 22 Aug 2009 10:15:48 +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 029FFC9A7C for ; Sat, 22 Aug 2009 10:15:47 +0200 (CEST) Original-Received: by ewy23 with SMTP id 23so1450069ewy.8 for ; Sat, 22 Aug 2009 01:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=QlF6wBmZIU58IdA879ynwKW7iejpLJSyMJUxW7pSy/A=; b=wDeHiCP/ss7B0YB9H4hZX9nd8Y+lyb7Q4XovN4UzWX7EWKb4sMccBg3F4mQGvlq+HC ntvJTLbOupedsZpzhQXniozrAdZXmRlYqbP1Gvncsnt04JAivmw8KGlAIrYQdjkD1sP9 m1yYcBqetivaRErUJfJuUDt3f+PkA1RXPFm6o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=b5yxkt8HJcLgOGvlXSkN0x1S3iJ+86W6B/vFXI5WG7qKLPoxKzDCwiln4eiRxdSHeJ 7bJ01b59Yulcm4GdqzpivtFOnWHAjkrE398E04avQecTFqHm8Le9KxhtyomkRx9rZlq9 5BLMofKWnZFQtombqJMjaqbj7Lh3nYzHketUo= Original-Received: by 10.216.45.65 with SMTP id o43mr414523web.4.1250928947630; Sat, 22 Aug 2009 01:15:47 -0700 (PDT) In-Reply-To: <6faad9f00908220105o1290af06ybf6f84b43900b853@mail.gmail.com> 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:52495 Archived-At: 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 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 ___________________________________________________________________________________