TEX: The Program, Volume 2The Complete Source Code and Program Listing for TeX Now, 35 years after the first edition, the leading worldwide experts on these systems have spent several months inspecting every page thoroughly. We now believe that every "i" has been properly dotted, every "t" has been properly crossed, and every bug has been properly exterminated. Donald E. Knuth, creator of the exciting TeX computer typesetting system, has made available in this volume the fully documented program listing for TeX. Readers who are already familiar with TeX and with its user's guide, The TeXbook, will find much of interest in the source code. Other readers interested in software development and in Knuth's programming style will find this a fascinating and instructive case study. Never before has a computer program of this size been spelled out so clearly and completely. Knuth presents all the algorithms and explains every detail of the TeX program, utilizing the WEB system of structured documentation that he developed as part of his TeX research project. TeX: The Program is the second in a five-volume series on Computers and Typesetting, all authored by Knuth. This series presents the results of nearly a decade of innovative research on the problems of preparing publications of high quality. |
Other editions - View all
Common terms and phrases
align_state any_mode Append array ASCII back_input boolean breakpoint buf_size buffer bytes character chr_code command Compute const control sequence cs_token_flag cur_chr cur_cmd cur_cs cur_tok cur_val cur_val_level cur-p decr define discretionary hyphens do_nothing done1 eight_bits end else begin end This code endcases eqtb equiv exit fget font free_node function get_next get_node get_token get_x_token Global variables 13 glue glue_node glue_ptr glue_val goto found halfword hash table height help1 help2 hmode hyphenation incr macro input inserted int_val integer internal_font_number kern kern_node ligature link macro link q loop macro main_control math max_halfword min_quarterword mlist mmode mode mu_val noad node null othercases output parameter Pascal pointer primitive print_char print_cmd_chr print_err print_esc print_int print_ln print_nl quarterword reference count reswitch routine scaled Scan scan_int scanner_status selector small_number str_number str_pool string subroutine subtype tail temp_head TEX's token list vlist vlist_node vmode width xchr