5 ms·
The TeX source is not in the form in which it is intended to be read. It's like you showing the current HTML and JavaScript source code of some article and comp
by acqq 7y ago
The TeX source is not in the form in which it is intended to be read. It's like you showing the current HTML and JavaScript source code of some article and complain that the message is hard to read.
What you showed as the TeX source is at the same time a source representation for this book:
Computers & Typesetting, Volume B: TeX: The Program (Reading, Massachusetts: Addison-Wesley, 1986), ISBN 0-201-13437-3
and at the same time the "plain" Pascal program can be extracted from that same source representation(1)
That was the idea of Literate Programming that Knuth also tried to demonstrate in his article as he was "framed."
Which other program that is hard to develop (that one took 10 years of the best programmer in the world, supported by his students and assistants) has a nicely printed book form that fits 600 pages and has all the descriptions?
Even more impressive, Knuth intentionally developed his program with the specific idea that its outputs are the same no matter how much the computers change in the future. And he managed to achieve this -- the more ports of his original program are available everywhere and using his sources from eighties produce exactly same pages as then.
------------
1) "WEB programs are converted to Pascal sources by tangle and to a TeX input file by weave. Of course, tangle and weave are WEB programs as well. So one needs tangle to build tangle---and weave and TeX to read a beautifully typeset WEB program" -- that is, if you don't buy a book which is already typeset and printed.