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.

Looking for some introductory materials on LaTeX compiler. I would like to know more about how a LaTeX compiler is built

share|improve this question
LaTeX isn't a compiler. See tex.stackexchange.com/questions/6776/what-are-tex-and-latex –  Axel Sommerfeldt Sep 6 '11 at 4:41
@Axel Sorry I am looking for Latex Compiler design. I didnt say LaTeX is a compiler either ;) –  tex Sep 6 '11 at 4:44
There's no LaTeX compiler, however. TeX has compilers. –  Leo Liu Sep 6 '11 at 4:54
Also review your earlier question about tex engine and distribution –  Peter Grill Sep 6 '11 at 5:39

1 Answer 1

up vote 13 down vote accepted

You can read Knuth's TeX: The Program. The PDF file from tex.web source is available on TeX Live distribution.

LaTeX is no more than a set of macro. See the documented source code of LaTeX2e, say, source2e and classes.

share|improve this answer

Your Answer


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.