From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79819 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Save/Redraw labels as pictures Date: Sat, 8 Dec 2012 16:55:38 +0100 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <20121208165538.3f7b334a@iram-hb-003386.extra.cea.fr> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354982148 14589 80.91.229.3 (8 Dec 2012 15:55:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Dec 2012 15:55:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 08 16:56:02 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ThMkx-00011o-3L for gctc-ntg-context-518@m.gmane.org; Sat, 08 Dec 2012 16:55:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3E806101F7; Sat, 8 Dec 2012 16:55:46 +0100 (CET) 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 M21SmfA6o3kj; Sat, 8 Dec 2012 16:55:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B6396101E6; Sat, 8 Dec 2012 16:55:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 775FF101E6 for ; Sat, 8 Dec 2012 16:55:41 +0100 (CET) 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 fOn+CISg2JJZ for ; Sat, 8 Dec 2012 16:55:40 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id BF247101E2 for ; Sat, 8 Dec 2012 16:55:40 +0100 (CET) Original-Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.167.192.142]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qB8Ftd5P026173 for ; Sat, 8 Dec 2012 16:55:40 +0100 Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id qB8Ftcjq008263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 8 Dec 2012 16:55:38 +0100 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire2.extra.cea.fr (8.14.4/8.14.4) with ESMTP id qB8Ftchh026946; Sat, 8 Dec 2012 16:55:38 +0100 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-hb-003386.extra.cea.fr (charybde.extra.cea.fr [132.166.43.102]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.2) with ESMTP id qB8FtcY7003489; Sat, 8 Dec 2012 16:55:38 +0100 In-Reply-To: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.167.192.142; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TIx3TDKd - f625b9d54c8c - 20121208 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79819 Archived-At: Hans has be playing with MetaPost instances which got broken. \startMPpage\stopMPpage got the wrong instance whereas \startTEXpage\startMPcode\stopMPcode\stopMPpage correctly got the default instance. Normally, this was fixed, but your minimal example still does not work for me either. Something else is at cause... The reasons Hans has modified MP instances are: 1. we wanted to isolate the chemistry drawing macros from other MP use, but not from the user, and 2. we uncovered an error with mlib when using a very great number of MP pictures. Alan On Sat, 8 Dec 2012 05:42:43 -0600 Troy Henderson wrote: > The following code produces the letter "J" on the first page, but > does not draw that same picture on the second page. I would > appreciate some advice on how to save and redraw this label in > subsequence figures. > > Thanks, > > Troy Henderson > > \starttext > \startMPinclusions[+] > picture J; > \stopMPinclusions > \startMPpage > J:=thelabel(btex J etex scaled 2,origin); > draw J; > \stopMPpage > \startMPpage > draw J; > \stopMPpage > \stoptext ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________