From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31207 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \sometxt bodyfontsize in staticMPfigure (2006.09.27 beta) Date: Wed, 4 Oct 2006 19:14:00 -0400 (EDT) Message-ID: References: <451B78FE.2030808@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1160003685 28343 80.91.229.2 (4 Oct 2006 23:14:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Oct 2006 23:14:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 05 01:14:39 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GVFwb-0006ef-F5 for gctc-ntg-context-518@m.gmane.org; Thu, 05 Oct 2006 01:14:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1EDFD1FD5E; Thu, 5 Oct 2006 01:14:28 +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 05374-03-2; Thu, 5 Oct 2006 01:14:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C180F1FCA2; Thu, 5 Oct 2006 01:14:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 254ED1FD38 for ; Thu, 5 Oct 2006 01:14:15 +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 04552-07 for ; Thu, 5 Oct 2006 01:14:06 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with SMTP id E9B201FC71 for ; Thu, 5 Oct 2006 01:14:03 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hackers.mr.itd.umich.edu ID 45244038.CE504.23172 ; 4 Oct 2006 19:14:02 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <451B78FE.2030808@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:31207 Archived-At: On Thu, 28 Sep 2006, Hans Hagen wrote: > this is runtime tex into passed to the graphic ... imagine that we flush > this to the mp file ... it can contain info that is not known in that > session (like overlay info) which willbreak the mp run > > the issue here is that a static graphic is processed in another, > independent run, that's the whole idea behind static graphics (quick > hack for independent graphics) > > we can spend a lot of time to make it more advanced but within a year > from now we will have mp as a library in tex which willreduce runtime to > nearly zero (at least that 's what experiments show) so .... Even when mp is available as a lib, it will not reduce runtime to nearly zero? The time to start a mp process will be negligible, but processing an mp file will still take time. In the mp diagrams that I have, processing each diagram takes about 10 sec [1]. Occasionally there are around 10-15 diagrams and compiling all of them takes about 2 minutes. With statics, the time for calculating the md5 sum of each mp file is negligible, and I can work with diagrams sources and text in the same file. Even after mp is available as a library, I will need statics. [1] metaobj is slow. I really hope that sometime in the future, metapost gets programming abilities of a real language. Maybe asymptote already does this, but it is too latex oriented. Aditya