Charles de Miramon <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | | | > ODF is also xml based afaik. | > | | Yes but the logic of formatting of an ODF file and of a LyX file (modelled | on LaTeX) is very different. There is no preamble for example in ODF.
Right. It also seems to me (after reading a bit in the ODF specification) that it has specifically been made to create an alternative to MS formats. And thus fits rather poorly to the (La)TeX(/LyX) way of thinking. As to the preamble. That is something LyX does not really need, but something we have to make it easier for ourselves and users. For use to not have to support every corner of LaTeX, and for users to be able to do stuff that LyX does not support. For a standard document the preamble should be empty. | This blog is interesting and it seems to me that LaTeX is rather similar to | Wordperfect. | | http://fridrich.blogspot.com/2007/03/focus-on-logic-behind-file-format-not.html | | > I belive it is a lot easier for us to more in that direction if we go | > for a simpler xml format with no strings attached first. | > | | I fail to see what are the big advantages (except reusing an on-the-shelf | parser). Moving away from LaTeX logic will complexify the LyX -> LaTeX | process. I don't think we loose anything there. AFAIK we still generate LaTeX from the in-memory representation of the document. IMHO the greatest advantage is a clearly defined format. (and I am not sure we can really reuse a on-the-shelf parser anyway. Except the more simplistic sax parsers that is.) -- Lgb