[tex-live] web2c / MF in C

Norbert Preining preining at logic.at
Mon Jul 2 00:42:22 CEST 2012

On So, 01 Jul 2012, Shriramana Sharma wrote:
> I want to read the MetaFont program in C (primarily to figure out
> Hobby's algorithm used in the make_choices section). Right now I have

I don't think that the C code generated my web2c is actually
readable ... but if you really want to try:

> Can anyone please tell me what is the executable that converts the
> mf.web that I got from CTAN to C so that I can obtain a C version of

No way. Get the texlive sources, run the build script, and after that
look att he source mf1.c ... mf5.c (as far as I remember).

But I don't think you will be happy with that, as it is not C code
that is intended to be read by humans.


Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
The member of any class who most inclines a teacher towards the view
that capital punishment should be introduced in schools.
			--- Douglas Adams, The Meaning of Liff

More information about the tex-live mailing list