TEX: The ProgramThe 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 array ASCII ASCII_code back_input boolean breakpoint buf_size buffer bytes char_node character chr_code command common_ending const control sequence cur_chr cur_cmd cur_cs cur_p cur_tok cur_val cur-p decr define discretionary hyphens Display do_nothing done1 eight_bits end else begin end This code endcases eqtb equiv exit fget font free_node function get_node get_token Global variables 13 glue glue_node glue_ptr goto found halfword hash table height hi_mem_min hmode hyphenation incr input inserted integer internal_font_number kern kern_node ligature link q list_ptr lo_mem_max macro main_control math max_halfword mem_min min_quarterword mlist mmode mode noad node null othercases output parameter Pascal pointer pool_ptr primitive print_char print_cmd_chr print_err print_esc print_int print_ln print_nl procedure quarterword reference count rlink routine rule_node save_ptr save_stack scaled scanned scanner_status selector shift_amount small_number str_number str_pool string subroutine subtype tail TEX's token list token_type vlist vlist_node vmode width xchr