[metapost] metapost 1.211 and *.mem files
luecking at uark.edu
Fri May 20 00:31:40 CEST 2011
At 09:57 AM 5/19/2011, Werner LEMBERG wrote:
> > Consider the attached mf2pt1.mp file. In metapost 1.208, I can do:
> > mpost -progname=mpost -ini mf2pt1.mp -progname=mpost \\dump
> > mpost -mem=mf2pt1 -progname=mpost '\mode:=localfont; mag:=100;
> bpppix 0.02;'
> > and mpost exits without an error. If I try the same two commands
> in metapost
> > 1.211, however, I get the following output from the second command:
> > This is MetaPost, version 1.211 (TeX Live 2010/Arch Linux)
> (kpathsea version
> > 6.0.0)
> >>> bpppix0.02
> > ! Isolated expression.
> > <to be read again>
> > ;
> > <*> \mode:=localfont; mag:=100; bpppix 0.02;
The file mfplain.mp ends with dump; So when mf2pt1.mp says
the mem file is dumped before the rest of mf2pt1.mp is read.
Then of course bpppix is not defined (nor is anything else
This is an error (I think). There should be an mfplain.ini that
inputs mfplain.mp and then says "dump". But mfplain.mp should not
do this itself.
Daniel H. Luecking
Department of Mathematical Sciences
More information about the metapost