Georg Baum schrieb: > Am Sonntag, 5. November 2006 17:25 schrieb Enrico Forestieri: > >> Maybe tex2lyx should be updated to take into account the fact that >> the latex file could be utf8 encoded? > > Yes, as I wrote: tex2lyx almost completely ignores encodings. > >> If I am not wrong, now LyX could output such encoding. > > Yes, that is possible, but it does not matter since tex2lyx is also for > importing foreign TeX files, and those can be in utf8 since a couple of > years. > > Tex2lyx is currently several file format versions behind LyX, but I don't > know if it makes sense to work on that. If José is really serious with > reimplementing it in python then it does not make sense to do anything > else than simple bugfixes with the current code. > I am however not sure whether it is really a good idea to reimplement > tex2lyx, because that will be a lof of work, and although I agree that > several things can be done more elegantly in python I doubt that the > benefit will be so big that it is worth the effort.
I'll spend a bottle of champagne, if someones is able to create a _working_ tex2lyx ... I am interested in seeing how someone will parse a tex source, where _every_ macro or environment can be hide after several other macros or catcode changes ... Herbert