Enrico Forestieri schrieb: > On Sun, Nov 05, 2006 at 04:21:47PM +0100, Herbert Voss wrote: > >> Enrico Forestieri schrieb: >> >>>>> 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. >> and where is the sense of having catcodes?? >> The user or any package author can redefine the catcodes >> just as he like ... and LyX doesn't really knows ... >> Making characters active is done in nearly all packages. > > Try to import in LyX the attached file.
oh come on, this snippet of code says nothing. Making a character active is only one sort of playing with catcodes. btw.: what does LyX say with (I cannot test, cvs doesn't compile) \documentclass{article} \catcode`\S=\active \defS{\sin} \begin{document} \[ y=Sx \] \catcode`\S=11 \[ y=Sx \] \end{document} Herbert