From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52258 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Re: =?windows-1252?q?loop_textext_and_=5CMPstring=7B=85?= =?windows-1252?q?=7D?= Date: Wed, 12 Aug 2009 23:27:46 +0200 Message-ID: <17BB4806-2F45-4C39-8544-99C6667F3921@uni-koblenz.de> References: <6faad9f00908121134n11fed555n5eb6d41976b8d487@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============1324955735==" X-Trace: ger.gmane.org 1250112488 27399 80.91.229.12 (12 Aug 2009 21:28:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 21:28:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 12 23:28:01 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 1MbLMW-0002KO-Vw for gctc-ntg-context-518@m.gmane.org; Wed, 12 Aug 2009 23:28:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28F6AC9A90; Wed, 12 Aug 2009 23:27:58 +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 LFIeLPuCMbr0; Wed, 12 Aug 2009 23:27:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5C27EC9A70; Wed, 12 Aug 2009 23:27:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5D49C9A70 for ; Wed, 12 Aug 2009 23:27:53 +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 QlxmRItDdDYm for ; Wed, 12 Aug 2009 23:27:48 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by balder.ntg.nl (Postfix) with ESMTP id B43B2C9A68 for ; Wed, 12 Aug 2009 23:27:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 9679A78A128F for ; Wed, 12 Aug 2009 23:27:48 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09779-06 for ; Wed, 12 Aug 2009 23:27:48 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy aharder@uni-koblenz.de Original-Received: from [192.168.1.102] (unknown [95.88.47.93]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id E9E9C78A0CFC for ; Wed, 12 Aug 2009 23:27:47 +0200 (CEST) In-Reply-To: <6faad9f00908121134n11fed555n5eb6d41976b8d487@mail.gmail.com> X-Mailer: Apple Mail (2.936) X-Virus-Scanned: amavisd-new at uni-koblenz.de 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:52258 Archived-At: --===============1324955735== Content-Type: multipart/alternative; boundary=Apple-Mail-4--925156242 --Apple-Mail-4--925156242 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Am 12.08.2009 um 20:34 schrieb Mojca Miklavec: > I'm sure that there's a workaround (or at least a dozen of other > ways), but I have no time (and my computer is being repaired again) to > inspect right now. Some tips? > MKIV is both very powerful and fast, so you could probably also define > strings inside metapost run, something like > > string mystrings[]; strings[1] := "ABC"; strings[2] = "DEF"; > draw textext(strings[1]); > > Untested. It works, but if you loop it the problem remains. Thanks! Andreas --Apple-Mail-4--925156242 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
Am 12.08.2009 um = 20:34 schrieb Mojca Miklavec:
I'm = sure that there's a workaround (or at least a dozen of other
ways), = but I have no time (and my computer is being repaired again) = to
inspect right now.

Some tips?

MKIV is both very = powerful and fast, so you could probably also define
strings inside = metapost run, something like

string mystrings[]; strings[1] :=3D = "ABC"; strings[2] =3D "DEF";
draw = textext(strings[1]);

Untested.

It works, but if you loop it the problem = remains. 

Thanks!

<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> = Andreas
= --Apple-Mail-4--925156242-- --===============1324955735== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1324955735==--