Re: TeXBook



Joe Conte <nospam@xxxxxxxxxx> writes:

On 28 Sep 2007 at 22:44, Herbert Voss wrote:
StevieD83 schrieb:
In the TeXBook, on page 101, how in the world does Knuth typeset the
main paragraph AND the circular quote of Galileo using \parshape?
Wouldn't that affect only one paragraph?

yes, look into the source ...
ftp://cam.ctan.org/tex-archive/systems/knuth/tex/texbook.tex

Well that's strange - I downloaded the source, and it won't even
tex! Surely Knuth hasn't left a bug in the texbook source?!?!?!

Please read the copyright notice/error message: it is _not_ intended
for producing a DVI document, but to serve as a real life example of a
large document. So it produces an error message when you TeX it. The
main purpose of the error message is not to prohibit compilation (it
is easy enough to patch it away, and it must be localized if the
source should be of use for experimentation), but to make very sure
people read and understand the copyright permission and restriction
before they start anything.

So that one can actually play with the code, the "protection" is
trivial. But you must understand that this file's purpose is not to
save you from buying the book: it is intended to let you make the most
of the book once you bought it.

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
UKTUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>
.



Relevant Pages

  • Re: TeXBook
    ... Could you post the patch then? ... Wouldn't that affect only one paragraph? ... So it produces an error message when you TeX it. ... But you must understand that this file's purpose is not to ...
    (comp.text.tex)
  • Re: Newbie trying to understand indentation commands
    ... I finally decided to study TeX more carefully by writing ... This works (all lines of the paragraph are indented 36pt): ... Praesent eget sem vel leo ultrices bibendum. ... Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. ...
    (comp.text.tex)
  • Re: newb: embedded figures
    ... Now, that a box has no height doesn't mean it won't add to the interline space, quite the contrary. ... TeX positions boxes so that their baselines are \baselineskip away; when you insert a box with no height, you're basically asking TeX to move \baselineskip down, so that the baseline of that box is at the right distance. ... On the other hand, you want the first line of the new paragraph to be correctly positionned relative to the last line, but TeX makes such a correction only with adjacent boxes. ...
    (comp.text.tex)
  • Re: Arranging parallel texts
    ... I noticed that due to the separate ... line spacings by the TeX algorithms. ... So the paragraph buffers ... but separated by the same punctuation. ...
    (comp.text.tex)
  • Optimal paragraph filling
    ... TeX gurus, you're my only hope:o). ... Imagine the following paragraph: ... Other authors used XYZ on in-domain corpora of conversational speech and very large corpora. ...
    (comp.text.tex)