On Fri, 11 Aug 2017 09:23:06 +0100
José Abílio Matos <jama...@lyx.org> wrote:
> On Monday, 31 July 2017 18.30.31 WEST Steve Litt wrote:
> > I know what I'm asking for is monsterously difficult, and I know I
> > certainly don't have the technical chops to do it. But when it gets
> > done, LyX will be a brand new world, finally living up to its
> > promise of write once, deploy everywhere.
> > Thanks,
> > SteveT
> The main technical problems of this enterprise are the math insets.
> Should they also be converted to an xml like format?
You ask two different questions:
1) Should math insets be well formed XML?
2) MUST math insets be well formed XML?
To #1, yes, it would be nice, and then math insets could be handled via
an XML parser. This is something we'd want to work toward at some
point in the future.
To #2, HECKNO! The perfect is the enemy of the good, so it would be
silly to hold up the rest of the XMLization just for math insets. As
long as you can encapsulate the math insets in an XML tag in a way that
they won't cause an XML parser to choke or abort, that's wonderful: The
XML parser can hand the application programmer the encasing XML node,
and the application programmer can parse apart the math insets