mfplain 的问题

mfplain 的问题

当我将文件 mfplain 读入 Metapost 时,我收到大约十几条错误消息,抱怨方程式冗余且不一致。很难相信 mfplain 真的有问题。知道可能出了什么问题吗?

互动详情如下:

C:\Program Files (x86)\MikTex\miktex\bin>mpost
This is MetaPost, version 1.504 (MiKTeX 2.9)
**\relax
(mpost.mp (C:/Program Files (x86)/MikTex/metapost/base/plain.mp
Preloading the plain mem file, version 1.004))
*\input mfplain
(C:/Program Files (x86)/MikTex/metapost/base/mfplain.mp
Preloading the plain base, version 0.99: preliminaries,
basic constants and mathematical macros,
macros for converting units,
! Inconsistent equation (off by 2.77794).
<to be read again>
                   ;
l.230 mm*bpppix_=2.83464;
                               pt*bpppix_=0.99626;
?
[[ followed by a dozen or so similar messages ]]

答案1

mfplain.mp旨在做与此截然不同的事情plain.mp;如果你想用 Metapost 将 Metafont 构建为 Type3 字体,那么

mpost -mem=mfplain cmr10.mf

会做。

从 1.5 版开始(如果我没记错的话),mpost实际上不再加载文件,但默认情况下.mem会加载。要进入交互模式,您还可以调用:plain.mpmfplain.mpmpost -ini

egreg% mpost -ini
This is MetaPost, version 1.504 (kpathsea version 6.1.0)
**mfplain
(/usr/local/texlive/2012/texmf-dist/metapost/base/mfplain.mp
Preloading the plain base, version 0.99: preliminaries,
 basic constants and mathematical macros,
 macros for converting units,
 macros and tables for various modes of operation,
 macros for drawing and filling,
 macros for proof labels and rules,
 macros for character and font administration,
and a few last-minute items.)
*

相关内容