What is the best way to understand the internals of TeX / LaTeX?

Looking through the documents on the TeX website , it seems that almost all of the documentation for TeX and LaTeX is tutorials on how to use them, how to set fonts, how to make graphics work, etc.

What should I look at, do I want to learn more about how TeX works? For example, I want to know about its parser grammar. I want to know how his text engine works, how he makes transport decisions, how he transfers text, how he makes decisions when arranging boxes.

TeX and LaTeX seem to be built on several levels of different technologies. (Metafont, etc.) Are there any resources that describe the TeX system step by step from scratch? How does this happen when analyzing a text file, in how it is presented and converted, and finally, how does it end in a specific page layout?

+7
source share
1 answer

There are essentially two resources in TeX: one of them is TeXbook by Don Knuth, as well as a set of documents with documented source code (Vol A and C of Computers and Tyetting), the other is Victor Eijkhout TeX on a topic that is available for download .

+7
source

All Articles