TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.