From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52215 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: =?utf-8?q?loop_textext_and_=5CMPstring=7B=E2=80=A6?= =?utf-8?q?=7D?= Date: Wed, 12 Aug 2009 01:40:22 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250055659 22385 80.91.229.12 (12 Aug 2009 05:40:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 05:40:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 12 07:40:52 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 1Mb6Zs-0007KB-SS for gctc-ntg-context-518@m.gmane.org; Wed, 12 Aug 2009 07:40:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B82BAC9A77; Wed, 12 Aug 2009 07:40:45 +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 TOfv0Ts0f-r9; Wed, 12 Aug 2009 07:40:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B272C9A7C; Wed, 12 Aug 2009 07:40:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9021EC9A7C for ; Wed, 12 Aug 2009 07:40:42 +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 sHFCruwwWooN for ; Wed, 12 Aug 2009 07:40:38 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by balder.ntg.nl (Postfix) with ESMTP id CD0F2C9A77 for ; Wed, 12 Aug 2009 07:40:37 +0200 (CEST) Original-Received: FROM wireless-165-124-139-37.nuwlan.northwestern.edu (wireless-165-124-139-37.nuwlan.northwestern.edu [165.124.139.37]) By skycaptain.mr.itd.umich.edu ID 4A8255D4.76F33.21669 ; Authuser adityam; 12 Aug 2009 01:40:36 EDT In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) 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:52215 Archived-At: 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=1ex,width=\paperwidth,height=\paperheight] > for i=1 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/myway/sometxt.pdf Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________