On Feb 2, 2012, at 8:55 AM, Richard Heck wrote: > On 02/01/2012 03:11 PM, Xu Wang wrote: >> Hey Rob, that sounds like quite a nice project you have in mind! >> >> My two cents: it's not worth carrying it out if you can't get the math to >> import somewhat well. That seems to be the biggest problem with most ways of >> converting doc to lyx. I understand it's very difficult, but I think it's >> also the most important. >> > As far as I remember, the main complaint about writer2latex has been that it > produces ugly LaTeX. In the latest versions of LibreOffice, however, there is > an option to export "Ultra-clean" LaTeX, which works pretty well. Of course, > this relies upon Libre's importing Word's math well. So for math heavy > documents, that seems a good way to go at the moment.
That tracks with my experience, as well. You can set it for Ultra-clean, but even that has a lot of miscellaneous stuff that isn't really necessary and complicates import/export. I'm currently researching solutions for Math and I may have found one using MathML. We currently support MathML creation inside of LyX, do we have a way to import MathML? If so, how is that done? Is a native library or something that we handle with Python? Cheers, Rob