From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40043 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: new version Date: Fri, 11 Apr 2008 00:33:38 -0400 (EDT) Message-ID: References: <47FE93A1.10505@wxs.nl> 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: ger.gmane.org 1207888529 14939 80.91.229.12 (11 Apr 2008 04:35:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2008 04:35:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 11 06:36:01 2008 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 1JkAzT-0000hb-9J for gctc-ntg-context-518@m.gmane.org; Fri, 11 Apr 2008 06:35:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 555731FB7F; Fri, 11 Apr 2008 06:35:13 +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 18688-01-8; Fri, 11 Apr 2008 06:34:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5307D1FB5B; Fri, 11 Apr 2008 06:34:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F283B1FB5B for ; Fri, 11 Apr 2008 06:34:32 +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 18592-01 for ; Fri, 11 Apr 2008 06:33:58 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id D9CA01FA4C for ; Fri, 11 Apr 2008 06:33:32 +0200 (CEST) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY tombraider.mr.itd.umich.edu ID 47FEEA19.C7083.12398 ; 11 Apr 2008 00:33:29 -0400 In-Reply-To: <47FE93A1.10505@wxs.nl> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) 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:40043 Archived-At: On Fri, 11 Apr 2008, Hans Hagen wrote: > Hi, > > concerning the mplibrary in mkiv ... > > - it does not use the metafun mem file; when formats are generated a > special mem file is made and put alongside the context format > > - however, this only happens when a new version is found (is the case > with a new zip), or when an error is encountered in the format > (compatibility issue) > > - in case of doubt, or when you patch metafun, you can say > > ctxtool --touch > texexec --make > > i will try to make this more robust in the future > > the new mkiv mp graphics implementations is prepared for mixed usage, > i.e. we can use multiple metapost formats; i'm still not sure about the > interface, for instance: > > \startuseMPgraphic{metafun:bla} ... > > \startuseMPgraphic{mpost:bla} ... > > or so, more news later This could break existing code. I sometimes use \startuseMPgraphic{system:bla} and {system:blabla} etc to distinguish all "system diagrams". How about 1. \defineMPreusegraphic[useMPgraphic][format=metafun] \defineMPreusegraphic[useMPOSTgraphic][format=mpost] and then one can use \startuseMPgraphic and \startuseMPOSTgraphic. 2. If you have to make the label of the graphic determine the format, then maybe something like \startuseMPgraphic{::metafun::bla} so that it does not break existing code. 3. What about \startMPcode, \startMPpage, and \processMPbuffer? I think that the first approach will be easier to adapt. 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 ___________________________________________________________________________________