<div dir="ltr"><br><div class="gmail_quote">On Fri, May 20, 2011 at 9:27 AM, Taco Hoekwater <span dir="ltr"><<a href="mailto:taco@elvenkind.com">taco@elvenkind.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 05/20/2011 12:31 AM, Dan Luecking wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
At 09:57 AM 5/19/2011, Werner LEMBERG wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> Consider the attached <a href="http://mf2pt1.mp" target="_blank">mf2pt1.mp</a> file. In metapost 1.208, I can do:<br>
><br>
> mpost -progname=mpost -ini <a href="http://mf2pt1.mp" target="_blank">mf2pt1.mp</a> -progname=mpost \\dump<br>
> mpost -mem=mf2pt1 -progname=mpost '\mode:=localfont; mag:=100;<br>
bpppix 0.02;'<br>
><br>
> and mpost exits without an error. If I try the same two commands in<br>
metapost<br>
> 1.211, however, I get the following output from the second command:<br>
><br>
> This is MetaPost, version 1.211 (TeX Live 2010/Arch Linux) (kpathsea<br>
version<br>
> 6.0.0)<br>
>>> bpppix0.02<br>
> ! Isolated expression.<br>
> <to be read again><br>
> ;<br>
> <*> \mode:=localfont; mag:=100; bpppix 0.02;<br>
</blockquote>
<br>
The file <a href="http://mfplain.mp" target="_blank">mfplain.mp</a> ends with dump; So when <a href="http://mf2pt1.mp" target="_blank">mf2pt1.mp</a> says<br>
input mfplain;<br>
the mem file is dumped before the rest of <a href="http://mf2pt1.mp" target="_blank">mf2pt1.mp</a> is read.<br>
Then of course bpppix is not defined (nor is anything else<br>
in <a href="http://mf2pt1.mp" target="_blank">mf2pt1.mp</a>).<br>
<br>
This is an error (I think). There should be an mfplain.ini that<br>
inputs <a href="http://mfplain.mp" target="_blank">mfplain.mp</a> and then says "dump". But <a href="http://mfplain.mp" target="_blank">mfplain.mp</a> should not<br>
do this itself.<br>
</blockquote>
<br></div>
If I remember correctly, 'dump' was added for compatibility with<br>
early versions of metapost 1.5, but should no longer be necessary for<br>
metapost 1.504. That will need testing, though, so I would appreciate<br>
a small input file that is valid for both mfplain and mf2pt1.<br></blockquote><div><br>I've attached a small input file.<br> - it works with mpost 1.208, both with mfplain and mf2pt1<br> - it works with mpost 1.211 and mfplain<br>
- it fails with mpost 1.211 and mf2pt1<br> - once I comment out the dump in <a href="http://mfplain.mp">mfplain.mp</a>, it works with mpost 1.211 and mf2pt1<br><br>Cheers,<br>Joe<br><br></div></div></div>