From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79539 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: MetaPost instance mechanism broken Date: Mon, 26 Nov 2012 11:46:57 -0500 (EST) Message-ID: References: <20121125181144.72f960cb@homerow> <20121125190535.238d698a@homerow> <20121126171007.1ac3c68c@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353948444 30839 80.91.229.3 (26 Nov 2012 16:47:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2012 16:47:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 26 17:47:35 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 1Td1qB-0006Ab-4u for gctc-ntg-context-518@m.gmane.org; Mon, 26 Nov 2012 17:47:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E9AD2102A6; Mon, 26 Nov 2012 17:47:15 +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 pQEInKXWPUW8; Mon, 26 Nov 2012 17:47:09 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BB0C3101F8; Mon, 26 Nov 2012 17:47:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35FA8101F8 for ; Mon, 26 Nov 2012 17:47:08 +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 2aMPAZh39piI for ; Mon, 26 Nov 2012 17:47:03 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 08D44101F0 for ; Mon, 26 Nov 2012 17:47:02 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAQGe2b5018168 for ; Mon, 26 Nov 2012 17:40:03 +0100 Original-Received: FROM Decentralized.ECE.McGill.CA (Decentralized.ECE.McGill.CA [132.206.69.142]) By hackers.mr.itd.umich.edu ID 50B39D02.738CA.15095 ; Authuser adityam; 26 Nov 2012 11:46:58 EST In-Reply-To: <20121126171007.1ac3c68c@homerow> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WIsgE2lv - 41ccac66bd4f - 20121126 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:79539 Archived-At: On Mon, 26 Nov 2012, Marco Patzer wrote: > 2012-11-26 Sietse Brouwer: > >> Since I don't use MetaPost, I don't think I'm the best person to >> document this. But I took this as an opportunity to create the command >> reference pages for a bunch of the \...MP... commands; perhaps one of >> you could add this info to the proper page(s)? > > Thanks. I added some info about the change mentioned in this thread. > >> Also: a question about >> \startuseMPgraphic and >> \startuniqueMPgraphic. >> Both are supposed to be recompiled at every usage, so how are they >> different? Actually trying it out suggests that useMPgraphic is the >> only one of the two that re-evaluates its code every time; compare the >> examples at > > AFAIK useMPgraphic is always recalculated, reusableMPgraphic never > is. uniqueMPgraphic takes the size into account and recalculates if > the graphic dimensions change. If I recall correctly this is > mentioned somewhere in the MetaFun manual. But I agree, all these > commands for including MP graphics are confusing, given the fact > that one can survive pretty well with only useMPgraphic. I attached > a small example to show the difference. The distinction was more important in MkII when extra runs for different MP graphics could take a lot of time. But it MkIV, the difference in performance is, I believe, inconsequential. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________