[metapost] Open/True Type Fonts

Hans Hagen pragma at wxs.nl
Mon May 19 13:44:10 CEST 2008


Mojca Miklavec wrote:

> It has a similar purpose, but different mechanism. btex ... etex is
> just as stupid as it can get. A while ago I wrote some code that
> exported gnuplot graphs into ConTeXt. Now imagine 10 graphs with 20
> labels each (to label axis with 0, 1, 2, 3, ... 10, a title of the
> graph and so on ...). For each image (graph in my case), ConTeXt calls
> metapost, so that means 10 metapost runs inside a ConTeXt run. But
> then each metapost calls another TeX instance to handle labels. Now,
> I'm not really sure if it called TeX a single time or if it called it
> 20 times, but I wouldn't be surprised if it called it 20 times, which
> means running TeX 201 times to draw 10 graphs. Well, because of table
> of contents and so on, ConTeXt usually runs twice, so 402 times. In
> any case - the running time of compiling my graphs has been reduces
> from 15 minutes to 20 seconds when this mechanism has been
> implemented.

context collected the btex/etex's (texexec kept track of it this, 
bypassing the mp helper programs) and there was one tex run per graphic 
(or just one per bunch of graphics in automp mode)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the metapost mailing list