[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:22904] groff with metapost



MetaPost というのが teTeX にあって metafont の類いで
bitmap フォントでなく PostScript を吐き出すらしいこと
ぐらいしか知りませんでしたが、その一部である dmp という
コマンドが SYS V の troff にしか対応してない(?)らしい
のを偶然知りました。

MetaPost の Info 曰く

  DMP was written for one particular Troff implementation, and it
unfortunately has many built-in assumptions about the output and fonts
file formats used by Troff, which may not be satisfied in other
environments.  In particular, GNU groff uses some extensions in its file
formats described in groff_font(5) and groff_out(5) which make its
output completely unusable for DMP.  On the other hand, the Troff
version found in Sun Solaris 2.x, and perhaps other systems derived from
System V R4, works fine with the default settings.

(snip)

     Any contributions to improve the portability of DMP or to make it
     work with GNU groff are welcome, of course.

だそうですし、実際 groff では動かない(エラーになる)
ようです。

また例えば /usr/bin/makempx の
": ${TROFF='eqn -d\$\$ | troff -Tpost'}" は groff なら
": ${TROFF='eqn -d\$\$ | troff -Tps'}" にしないとダメ
なのはすぐ判ります。勿論これで通るようになる訳ではあり
ませんが。

dmp のソースは tetex-bin のソースパッケージを展開すると
tetex-bin-1.0.6/texk/web2c/mpware/
にあります。

興味がある方居れば groff 対応にする、あるいは何らかの事情
を知ってる方など居ましたらご教示いただければ幸いです。

			   平成12年6月19日(月)
--
 ***************************
 香田 温人(こうだ あつひと)
 http://www1.pm.tokushima-u.ac.jp/%7Ekohda/