[metapost] metapost 1.211 and *.mem files

Werner LEMBERG wl at gnu.org
Thu May 19 16:57:31 CEST 2011

> 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;
> I got these two commands (along with the mf2pt1 file) from the lilypond
> build system, which used to work with metapost 1.208. How can I get them
> working in a newer version of metapost?

Another try: Is it possible that somewhere in your metapost source
file path there is another, old `mf2pt1.mp' file which doesn't have a
`bpppix' function?


More information about the metapost mailing list