On Sun, Nov 05, 2006 at 11:09:18AM +0100, Herbert Voss wrote: > Enrico Forestieri schrieb: > > >> If you are sure that there is at least one catcode greater than 128 is > >> classified as something other than catOther, I'll do the change. But > >> from what I read about TeX catcode since then, I doubt it. > > > > Maybe you are right as, from what I can see, only the catcode of '@' is > > ever changed in the LyX sources. However, if proper support for catcodes > > will be implemented, we should mimic what TeX does, and TeX can deal > > with 256 characters and not 128 as the comment you added implies -- please > > change that. Quoting the very beginning of chapter 7 in the TeXbook: > > > > There are 256 characters that TeX might encounter at each step, > > in a file or in a line of text typed directly on your terminal. > > These 256 characters are classified into 16 categories numbered > > 0 to 15. > > > > I think that we should leave the 256, but if you and others don't agree, > > then please also make the corresponding changes to texparser.C > > only the characters 0,13,32,35-38,65-90,92,94,95,97-123,125-127 > have a catcode other than 12. All others from the 256 possible > ones have 12.
Right. But I could catcode them and, if this is not taken into account, a bug can arise, at least with tex2lyx. See my other post. -- Enrico