From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52233 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 12:51:29 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="windows-1252"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250074306 30374 80.91.229.12 (12 Aug 2009 10:51:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 10:51:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 12 12:51:39 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 1MbBQg-0000Ad-UT for gctc-ntg-context-518@m.gmane.org; Wed, 12 Aug 2009 12:51:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07597C9B07; Wed, 12 Aug 2009 12:51:37 +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 1GXAOqqsCAK3; Wed, 12 Aug 2009 12:51:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33153C9A8A; Wed, 12 Aug 2009 12:51:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3C15C9A8A for ; Wed, 12 Aug 2009 12:51:32 +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 3dNzhYEpyu5R for ; Wed, 12 Aug 2009 12:51:31 +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 EBA6CC9A81 for ; Wed, 12 Aug 2009 12:51:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id CE86B789747A for ; Wed, 12 Aug 2009 12:51:30 +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 11027-07 for ; Wed, 12 Aug 2009 12:51:30 +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 5681178019BA for ; Wed, 12 Aug 2009 12:51:30 +0200 (CEST) In-Reply-To: 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:52233 Archived-At: Am 12.08.2009 um 07:40 schrieb Aditya Mahajan: > On Tue, 11 Aug 2009, Andreas Harder wrote: > >> Hi, >> >> I am trying to achieve the following: >> >> \setMPtext{1}{ABC} >> \setMPtext{2}{DEF} >> \setMPtext{3}{GHI} >> >> \starttext >> >> \startMPpage[offset=3D1ex,width=3D\paperwidth,height=3D\paperheight] >> for i=3D1 upto 3: >> draw textext(\MPstring{i}) shifted(i*cm,i*cm) ; >> endfor; >> \stopMPpage >> >> \stoptext >> >> There is no error but no content either. What's wrong? > > Another way to do this is to use > > \TeXtext{1}{ABC} etc. > > and then call > > draw sometxt(i) > > For Sec 4.5 of Mojca's my way on sometxt http://dl.contextgarden.net/mywa= y/sometxt.pdf Thank you for the tip, I tried it, but sometext seems deprecated in = mkiv ("[do we need TeXtexts in MkIV]"). I've different buffers named 1=9612 and would like to pipe them to = Metapost. I thought I could use a textext(\getbuffer[i])-construct, it = failed. So I tried it with \setMPtext{}{} =85 What is the approach to achieve this? Thank you in advance, Andreas ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________