From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15153 Path: main.gmane.org!not-for-mail From: "Patrick Gundlach" Newsgroups: gmane.comp.tex.context Subject: Re: Another Metafun issue Date: 16 May 2004 21:36:54 +0200 Organization: chaos Sender: ntg-context-admin@ntg.nl Message-ID: References: <1473E5B4-A725-11D8-B44C-0003939959D2@t-online.de> <3819AB62-A76D-11D8-8A19-0003939959D2@t-online.de> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084736306 8207 80.91.224.253 (16 May 2004 19:38:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 May 2004 19:38:26 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sun May 16 21:38:17 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPRSj-000057-00 for ; Sun, 16 May 2004 21:38:17 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id AEE6010B04; Sun, 16 May 2004 21:33:50 +0200 (MEST) Original-Received: from lilly.ping.de (lilly.ping.de [83.97.42.2]) by ref.ntg.nl (Postfix) with SMTP id B18F110AF2 for ; Sun, 16 May 2004 21:31:51 +0200 (MEST) Original-Received: (qmail 2824 invoked from network); 16 May 2004 19:36:13 -0000 Original-Received: (ofmipd 83.97.40.32); 16 May 2004 19:35:51 -0000 Original-Received: from schnee.local. (localhost [127.0.0.1]) by schnee.local (8.12.9/8.12.9) with ESMTP id i4GJaxic015182 for ; Sun, 16 May 2004 21:36:59 +0200 (CEST) Original-Received: (from pg@localhost) by schnee.local. (8.12.9/8.12.2/Submit) id i4GJavqf015181; Sun, 16 May 2004 21:36:57 +0200 (CEST) Original-To: ntg-context@ntg.nl X-Authentication-Warning: schnee.local.: pg set sender to patrick@gundla.ch using -f X-Lieblings-Musik: the_capricorns In-Reply-To: <3819AB62-A76D-11D8-8A19-0003939959D2@t-online.de> (Sebastian Sturm's message of "Sun, 16 May 2004 21:14:14 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (darwin) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15153 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15153 Hello again, > I thought textext was just a faster version of btex ... etex and > supposed that this would be the 'way to go', since it is a part of > MetaFun. I guess you know now; but for the record: btex....etex does not allow any variable part in the text to be typeset. This is due to the fact that metapost scans for btex ... etex parts in the input file and creates the text in one single TeX run (preprocessing) and then executes the macros (so the texts are fixed). There are several approaches to allow texts with variable data such as %% does not work! for i=0 upto 10: btex "i is now " + decimal i etex; endfor; one of them is textext: for i=0 upto 10: textext ("i is now " + decimal i); endfor; should work (untested) Patrick