Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Where is the source code or executable for Knuth's metafont program? I cannot find it anywhere!

share|improve this question
    

2 Answers 2

up vote 9 down vote accepted

The binary should be part of your TeX distribution; its name is mf. The source is available at: CTAN

share|improve this answer

To be even more specific, it is here, in the file called "mf.web". It is 23k lines of pascal mixed with heavy documentation that is something like DOXYGEN from the 70's.

If you're running a debian-based distribution the source is also in the "texlive-bin" source package in the "/texk/web2c/mf.web" subdirectory.

share|improve this answer
1  
Like TeX, MetaFont is written in WEB. I'm not sure the comaprison with Doxygen really gets the WEB approach across at all! –  Joseph Wright Dec 5 at 17:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.