[metapost] Metafun and TeXLive 2012

Fabien Vignes-Tourneret fabien.vignes at gmail.com
Tue Oct 16 23:10:45 CEST 2012


Hi everybody,

I am having a problem with Metafun. I am running mac os 10.7.5 and have recently installed TeXLive 2012. If I run mptopdf on the following test.mp :

> prologues:=3;
> verbatimtex
> %&latex
>   \documentclass[12pt]{article}
>   \begin{document}
>   etex
>   
> \input metafun;
> 
> beginfig(1);
>   numeric u;
> endfig;
> 
> verbatimtex
> \end{document}
> etex
> end

I get 


> MPtoPDF 1.4.1 : running 'mpost --mem=mpost   --tex=latex  test.mp'
> This is MetaPost, version 1.504 (kpathsea version 6.1.0)
> (mpost.mp (/usr/local/texlive/2012/texmf-dist/metapost/base/plain.mp
> Preloading the plain mem file, version 1.004)) (./test.mp
> (/usr/local/texlive/2012/texmf-dist/metapost/context/base/metafun.mp
> (/usr/local/texlive/2012/texmf-dist/metapost/context/base/metafun.mpii
> (/usr/local/texlive/2012/texmf-dist/metapost/context/base/mp-base.mpii
> Preloading the plain mem file, version 0.63
> ! Redundant equation.
> <to be read again> 
>                    ;
> l.305 mm=2.83464;
>                        pt=0.99626;        dd=1.06601;      bp:=1;
> ? 
> ! Emergency stop.
> <to be read again> 
>                    ;
> l.305 mm=2.83464;
>                        pt=0.99626;        dd=1.06601;      bp:=1;
> Transcript written on test.log.
> 
> MPtoPDF 1.4.1 : error while processing mp file



If I suppress the \input metafun; line, I get 


> MPtoPDF 1.4.1 : running 'mpost --mem=mpost   --tex=latex  test.mp'
> This is MetaPost, version 1.504 (kpathsea version 6.1.0)
> (mpost.mp (/usr/local/texlive/2012/texmf-dist/metapost/base/plain.mp
> Preloading the plain mem file, version 1.004)) (./test.mp [1] )
> 1 output file written: test.1
> Transcript written on test.log.
> This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
>  restricted \write18 enabled.
> [MP to PDF] (./test.1) [warning: the width is less than 1in]
> [warning: the height is less than 1in] [1]
> Output written on test.pdf (1 page, 1235 bytes).
> Transcript written on test.log.
> 
> MPtoPDF 1.4.1 : test is converted to test-1.pdf



With TeXLive 2011, everything works fine. Any idea on this issue?

Thanks a lot for your help.


Fabien

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20121016/4ffd9843/attachment.html>


More information about the metapost mailing list