Where are the best places to look if one would like to understand the LaTeX2e source code?
Related:
Where are the best places to look if one would like to understand the LaTeX2e source code?
Related:
As indicated in the comments the source is all written in dtx source form and can be typeset with a fully indexed cross referenced documented form documenting every command and indexing the use of every command in the source. You can process the sources yourself with latex and makeindex but most distributions have a source2e.pdf ready made.
source2e is, of course, too bulky to use as a quick reference, so if you know the stuff, it's reasonable to read the source. (i do, and i don't know latex half as well as david or you...)
– wasteofspace
Jun 21 '13 at 10:17
texdoc source2e– Jun 21 '13 at 06:58.dtxfiles)? – Joseph Wright Jun 21 '13 at 07:20latex.ltxand have thus been wondering where all this community knowledge comes from. I think the reason why I didn't know is that whenever someone pasted snippets from the LaTeX source (in answers on this site), I've searched them, and was led to something likelatex.ltx, which is of course unannotated. So I simply didn't look in the right place or didn't follow pointers far enough. The header oflatex.ltxdoes mentiondocstrip, but I didn't know thatdtxwas a format for annotated sources. Thanks! – Lover of Structure Jun 21 '13 at 08:48%%%and it which tell you which documented file the bit you are looking at came from. – David Carlisle Jun 21 '13 at 12:17