On 12/27/2012 05:29 AM, Vincent van Ravesteijn wrote:
b) Changing .lyx to be native XML. I think the only way how to
get 100% faithful
and stable/robust conversion.
That might well be nice, but I don't need this and I'm NOT asking for
this, much less offering to implement this. lyx2xml should be useful
for thinking about XML as a native format, but that's only a
tangential matter for me.
I agree that switching to Native LyX is much easier when there already
is someone who thought about a lyx2xml script. If this script is
complete, then changing our source code to write XML is 'trivial' (is
it ?).
This shouldn't be too hard, and I see no reason it cannot be done
incrementally. I keep thinking about starting the process simply by
changing how command insets are written. The real first step, though,
would have to be to escape &, <, and > in our existing code.
Besides that, we still need a lyx2xml script to convert older lyx
documents such that the newer xml-based LyX version can read them.
This presumably just gets handled by lyx2lyx. Especially if it happens
incrementally.
Richard