I recently finished reading The TeXbook and TeX by Topic. Now I want to understand more about the LaTeX or ConTeXt formats, as well as the more modern engines; things like:

  • How does LaTeX2e / LaTeX3 work?
  • What do engines like pdfTeX, XeTeX, and LuaTeX do behind the back?
  • What is TikZ / PGF (or any other large LaTeX packages / classes)?
  • What are the 'new' primitives such as \expanded, \detokenize, etc?

Obviously, the raw code is always there for me to read, but pointers to sources like books or documented sources / implementation notes (?) would be helpful. I found source2e.pdf and source3.pdf for LaTeX but not for the others yet.


Browse other questions tagged or ask your own question.