On Sun, Nov 05, 2006 at 04:34:53PM +0100, Georg Baum wrote:

> Am Sonntag, 5. November 2006 15:46 schrieb Enrico Forestieri:
> > I am trying to say that, currently, LyX is not correctly tracking 
> > catcodes
> > and if we want to improve on that, then we should maintain the 256.
> 
> Yes, I understood that, but I don't think that this will be improved in the 
> near future. Tracking catcodes correctly would probably not be easy, and 
> only be importamnt for a very small number of users.
> 
> > As an example, try importing in LyX the attached valid latex file and you
> > will see what I mean. This is a bug, IMO.
> 
> Yes, that is a bug, but it is impossible to improve tex2lyx in such a way 
> that all valid TeX files are imported correctly. Many people have tried to 
> create a real TeX parser, and nobody succeeded. tex2lyx has far more 
> serious bugs IMO, for example it almost completely ignores encodings. 
> Therefore I do not plan to fix this at all, but if you want to do that you 
> are welcome.
> 
> I believe that the comment is now clear, and everybody who wants to have a 
> go at tracking catcodes knows what to do.

Then I'll shut up. However, I think that the same change from 256 to 128
should also be done in texparser.C, for consistency.

-- 
Enrico

Reply via email to