Abdelrazak Younes wrote:

> José Matos wrote:
>>   My purpose is to do this for 1.6, I do not intend to start from scratch
>> (that would be madness) but to use different available tools, that I have
>> described in other messages.

Indeed. The difference between you (José) and me is that I doubt that these
external tools can do the difficult part of the job: Translating from the
LaTeX document model to the LyX document model.

> Yes, I've read the archive now... sorry. One strong point of tex2lyx
> though is that it let the lyx core output the file so there will never
> be a lag between file format revision. Is my interpretation correct Georg?

No. This thread would not exist anymore if that interpretation was correct.
Remember that it started because I insisted to not add \clearpage and
\cleardoublepage support to tex2lyx until it outputs the current format.

> One good compromise will be to do the tex parsing in python (with the
> help of those external tool) and use boost::python inside tex2lyx for
> the conversion to the lyx inset model.

That would be worse than doing everything in python IMHO. The parsing is not
the problem. The parser in texparser.[Ch] works well and is easy to
understand. The problem lies in the different document models.


Georg

Reply via email to