Abdelrazak Younes wrote:

> But shouldn't that be the goal? I mean, it would make a lot of sense to
> me if tex2lyx used the LyX memory model by filling in inset by inset a
> lyx::Buffer.

It would be interesting to try that out. It would certainly require some
work, e.g. tex2lyx does not interpret at all some settings such as
language, but simply writes them to the file as a string. If you take this
to the end it would mean that tex2lyx is no standalone program anymore, but
a part of LyX.

> Indeed. But I don't understand why tex2lyx doesn't use the lyx source
> directly for that...

Because it started as a completely independant project. André even got angry
at some point when Jean-Marc and Angus pulled in too much LyX stuff.


Georg

Reply via email to