On Wed, Sep 11, 2002 at 06:45:18PM -0400, Paul Tremblay wrote: > On Wed, Sep 11, 2002 at 07:49:34AM +0200, Andre Poenitz wrote: > > The .lyx format is a moving target, and it will stay this way for a while. > > Oh, I didn't realize this. That puts a bit of a damper on my idea. Is > there any chance that .lyx will take an XML form?
That's the plan of a few of us. > I agree that using .tex is a good idea to convert files, especially > since as you say, many good translators already exist to translate .tex > to LyX. No, I am saying that there exists one good translator from .lyx to .tex (LyX itself) and a partially usable .tex to .lyx converter (reLyX) > However, these filters have disadvantages. The one that comes to mind is > the inability to translate styles. Paragraph styles are representable in LaTeX by \newenvironment and partially in LyX using .layout files. Character styles are possible in LaTeX too, but not (yet) in LyX. But I think there will be some work on that in the next development cycle. > I think I'll go ahead with my project anyway. It could be helpful in the > long run. The very, very difficult part of it was writing an RTF > convertor, and this part is essentially done. Translating XML to LyX > should prove very easy, and even if LyX changes, should not be too > dificult to adapt. > > Writing a translator to convert LyX to XML should also be very easy, > though I don't know when I'll have time to write one! The current .lyx format is a bit of a mess as it is e.g. whitespace sensitive in some places... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
