🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #995

I don't understand Knuth's answer to ex. 3.4

#995
From: Jonathan M. Gilligan
Date: Thu, 09 Apr 1992 22:47
10 lines
929 bytes
In exercise 3.4 of the TeXbook, Knuth says that there are 128 (now
256) control sequences of length 2 (including the escapechar) and up
to 128^2 (now 256^2) of length 3 (if I play with catcodes. I don't see
how he gets this.  Don't you need to leave at least one character
whose <catcode> is not equal to 11 to delimit the cs? I thought about
using \csname ... \endcsname, but you still need an escape char to
tell TeX that \endcsname is a cs and not part of the name. Anyone got
an answer?

---Jon
Technical Details
Message-ID: <9204092247.AA21316@lilac.csd.bldrdoc.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!ucselx!network.ucsd.edu!mvb.saic.com!info-tex

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!ucselx!network.ucsd.edu!mvb.saic.com!info-tex
From: jongill@lilac.bldrdoc.gov (Jonathan M. Gilligan)
Newsgroups: comp.text.tex
Subject: I don't understand Knuth's answer to ex. 3.4
Message-ID: <9204092247.AA21316@lilac.csd.bldrdoc.gov>
Date: Thu, 9 Apr 92 16:47:12 -0600
Organization: Info-Tex<==>Comp.Text.Tex Gateway
X-Gateway-Source-Info: Mailing List
Lines: 11