From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34971 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Weird Fieldstack problem Date: Fri, 8 Jun 2007 10:26:35 -0400 (EDT) Message-ID: References: <769ba7780706080135v3a1511dci754a8cc3b95b364f@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: sea.gmane.org 1181312819 28351 80.91.229.12 (8 Jun 2007 14:26:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2007 14:26:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 08 16:26:57 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HwfQX-0007O7-4Q for gctc-ntg-context-518@m.gmane.org; Fri, 08 Jun 2007 16:26:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 236CA200B5; Fri, 8 Jun 2007 16:26:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20787-03; Fri, 8 Jun 2007 16:26:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 92C1F200AE; Fri, 8 Jun 2007 16:26:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3AD5F200AE for ; Fri, 8 Jun 2007 16:26:44 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19884-09-2 for ; Fri, 8 Jun 2007 16:26:39 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with ESMTP id 5E3C7200AC for ; Fri, 8 Jun 2007 16:26:38 +0200 (CEST) Original-Received: FROM aditya.hsd1.il.comcast.net. (c-24-13-179-215.hsd1.il.comcast.net [24.13.179.215]) BY skycaptain.mr.itd.umich.edu ID 4669671C.8D8D3.26200 ; 8 Jun 2007 10:26:37 -0400 In-Reply-To: <769ba7780706080135v3a1511dci754a8cc3b95b364f@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:34971 Archived-At: On Fri, 8 Jun 2007, Zhichu Chen wrote: > Hi, > > I've written the following test file: > > ====================== > \setupcolors[state=start] > \setuppagenumbering[state=stop] > \setupinteraction [state=start] > > \starttext > > \MPdrawingdonetrue > > \startMPdrawing > draw (0,0)--(2cm,2cm); > \stopMPdrawing > \definesymbol[aa][\getMPdrawing] > > \startMPdrawing > draw (2cm,2cm)--(2cm,0); > \stopMPdrawing > > \definesymbol[bb][\getMPdrawing] > > \startMPdrawing > draw (0,0)--(2cm,0); > \stopMPdrawing > > \definesymbol[cc][\getMPdrawing] > > \definefieldstack[somemap][aa,bb,cc][height=fit,width=fit,frame=on] > > > \fieldstack[somemap] > \goto{here} [JS(Walk_Field{somemap})] > > \stoptext > ====================== > > It seems that the fieldstack does not work. Is there anything wrong? I haven't tested this, but I think that all elements in the fieldstack should have the same bounding box. Look at the widget manual, where Hans shows how to make sure that all elements have the same bounding box. 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 ___________________________________________________________________________________