Franck Pastor | 3 Mar 2012 02:19
Picon

Problem with metafun

Hello list

I have run into a strange problem with MetaPost and Metafun recently. Here is a complete minimal example:

beginfig(1);
	label("O", origin);
endfig;

beginfig(2);
	label(btex O etex, origin);
endfig;

end;

It works flawlessly with standard MetaPost. But if I use the metafun format with texexec as TeX engine,
using the following command

mpost -mem=metafun -tex="texexec --dvi" bug-metafun.mp 

(bug-metafun.mp is the name I've given to this file), something weird happens: the result is as expected,
but the log file is enormous (nearly 1 Mo, see the joined file…), containing tons of bizarre messages
abount duplicated fontmaps… No idea about what it means.

Is this a known problem?

I use Mac OS X, version 10.5.8,  MetaPost 1.504 and Metafun, which are shipped with TeX Live 2011 (MacTeX 2011).

Thanks,

Franck Pastor
(Continue reading)

Nicola | 4 Mar 2012 21:06
Picon

Re: Problem with metafun

In article <9DDE15F2-1AA8-41E6-90ED-3787C854F843 <at> skynet.be>,
 Franck Pastor <franck.pastor <at> skynet.be> wrote:

> I have run into a strange problem with MetaPost and Metafun recently. Here is 
> a complete minimal example:
> 
> beginfig(1);
>         label("O", origin);
> endfig;
> 
> beginfig(2);
>         label(btex O etex, origin);
> endfig;
> 
> end;
> 
> It works flawlessly with standard MetaPost. But if I use the metafun format 
> with texexec as TeX engine, using the following command
> 
> mpost -mem=metafun -tex="texexec --dvi" bug-metafun.mp 
> 
> (bug-metafun.mp is the name I've given to this file), something weird 
> happens: the result is as expected, but the log file is enormous (nearly 1 
> Mo, see the joined file…), containing tons of bizarre messages abount 
> duplicated fontmaps… No idea about what it means.

I can't help, but I confirm the behaviour with mpost (and MetaFun) from TeX Live 
2011. With mpost 1.504 from a (not too recent) ConTeXt Minimals distribution, 
the log has reasonable size (~2KB), so this is most probably related to TeX 
Live/MacTeX.
(Continue reading)

Hans Hagen | 5 Mar 2012 10:31
Picon

Re: Problem with metafun

On 3-3-2012 02:19, Franck Pastor wrote:
> Hello list
>
> I have run into a strange problem with MetaPost and Metafun recently. Here is a complete minimal example:
>
> beginfig(1);
> 	label("O", origin);
> endfig;
>
> beginfig(2);
> 	label(btex O etex, origin);
> endfig;
>
> end;
>
> It works flawlessly with standard MetaPost. But if I use the metafun format with texexec as TeX engine,
using the following command
>
> mpost -mem=metafun -tex="texexec --dvi" bug-metafun.mp
>
> (bug-metafun.mp is the name I've given to this file), something weird happens: the result is as expected,
but the log file is enormous (nearly 1 Mo, see the joined file…), containing tons of bizarre messages
abount duplicated fontmaps… No idea about what it means.
>
> Is this a known problem?

Each graphic loads the same map file:

  [1{psfonts.map}] [2{psfonts.map

(Continue reading)


Gmane