The complete TeX source by Donald E. Knuth Contents. Introduction. The character set. Input and output. String handling. On-line and off-line printing. Reporting errors. Arithmetic with scaled dimensions. Packed data. Dynamic memory allocation. Data structures for boxes and their friends. Memory layout. Displaying boxes. Destroying boxes. Copying boxes. The command codes. The semantic nest. The table of equivalents. The hash table. Saving and restoring equivalents. Token lists. Introduction to the syntactic routines. Input stacks and states. Maintaining the input stacks. Getting the next token. Expanding the next token. Basic scanning subroutines. Building token lists. Conditional processing. File names. Font metric data. Device-independent file format. Shipping pages out. Packaging. Data structures for math mode. Subroutines for math mode. Typesetting math formulas. Alignment. Breaking paragraphs into lines. Breaking paragraphs into lines, continued. Pre-hyphenation. Post-hyphenation. Hyphenation. Initializing the hyphenation tables. Breaking vertical lists into pages. The page builder. The chief executive. Building boxes and lists. Building math lists. Mode-independent processing. Dumping and undumping the tables. The main program. Debugging. Extensions. System-dependent changes. Index.