<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi everybody,<div><br></div><div>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 :</div><div><br></div><blockquote type="cite">prologues:=3;<br>verbatimtex<br>%&latex<br> \documentclass[12pt]{article}<br> \begin{document}<br> etex<br> <br>\input metafun;<br><br>beginfig(1);<br> numeric u;<br>endfig;<br><br>verbatimtex<br>\end{document}<br>etex<br><div><div>end</div></div></blockquote><div></div><div><div><br></div><div>I get </div><div><br></div><div><div><br></div><div></div><blockquote type="cite"><div>MPtoPDF 1.4.1 : running 'mpost --mem=mpost --tex=latex test.mp'</div><div>This is MetaPost, version 1.504 (kpathsea version 6.1.0)</div><div>(mpost.mp (/usr/local/texlive/2012/texmf-dist/metapost/base/plain.mp</div><div>Preloading the plain mem file, version 1.004)) (./test.mp</div><div>(/usr/local/texlive/2012/texmf-dist/metapost/context/base/metafun.mp</div><div>(/usr/local/texlive/2012/texmf-dist/metapost/context/base/metafun.mpii</div><div>(/usr/local/texlive/2012/texmf-dist/metapost/context/base/mp-base.mpii</div><div>Preloading the plain mem file, version 0.63</div><div>! Redundant equation.</div><div><to be read again> </div><div> ;</div><div>l.305 mm=2.83464;</div><div> pt=0.99626; dd=1.06601; bp:=1;</div><div>? </div><div>! Emergency stop.</div><div><to be read again> </div><div> ;</div><div>l.305 mm=2.83464;</div><div> pt=0.99626; dd=1.06601; bp:=1;</div><div>Transcript written on test.log.</div><div><br></div><div>MPtoPDF 1.4.1 : error while processing mp file</div></blockquote></div><div><br></div><div><br></div><div>If I suppress the \input metafun; line, I get </div><div><br></div><div><div><br></div><div></div><blockquote type="cite"><div>MPtoPDF 1.4.1 : running 'mpost --mem=mpost --tex=latex test.mp'</div><div>This is MetaPost, version 1.504 (kpathsea version 6.1.0)</div><div>(mpost.mp (/usr/local/texlive/2012/texmf-dist/metapost/base/plain.mp</div><div>Preloading the plain mem file, version 1.004)) (./test.mp [1] )</div><div>1 output file written: test.1</div><div>Transcript written on test.log.</div><div>This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)</div><div> restricted \write18 enabled.</div><div>[MP to PDF] (./test.1) [warning: the width is less than 1in]</div><div>[warning: the height is less than 1in] [1]</div><div>Output written on test.pdf (1 page, 1235 bytes).</div><div>Transcript written on test.log.</div><div><br></div><div>MPtoPDF 1.4.1 : test is converted to test-1.pdf</div></blockquote></div><div><br></div><div><br></div><div>With TeXLive 2011, everything works fine. Any idea on this issue?</div><div><br></div><div>Thanks a lot for your help.</div><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="font-size: 12px; "><div style="color: rgb(0, 0, 0); "><font class="Apple-style-span" color="#7F7F7F"><br></font></div><div><font class="Apple-style-span" color="#7f7f7f"><br></font></div><div style="color: rgb(0, 0, 0); "><font class="Apple-style-span" color="#7F7F7F">Fabien</font></div></span></span></div></span></div></span></div></div></div></div></div><br></body></html>