Prannoy Pilligundla wrote:

Hi Prannoy,

I use, praise (and sometimes curse) Tex4ht to convert lyx/latex 
files 
to odt and msword.

Tex4ht is a powerful software but complex and fragile. In the many 
years, I have been using Tex4ht, I have found that :

- The overloading of the latex macros that tex4ht does can create 
complex bugs. 

- The xtpipes program that zip the different xml files into an odt 
file is also very fragile like so many java programs. 

Your project is therefore very exciting. 

The strength of Tex4ht is that it reuses the latex/tex parser and 
your idea to create a lua macro that could plug into lualatex to 
spit 
some xml seems great. I see that there is already some code on the 
Net to do something like that.
 https://github.com/michal-h21/lua4ht

On the other end, to make a convertor more robust on the long term, 
we should try to move away from tex4ht to more standard tools. 
Creating a program in Python with a library like ODFPY to handle the 
creation of the odf file will make it much more easier to hack, 
debug  
test and attract more people to help. The success of eLyXer shows 
that python is a good tool to create converters.

If you can find a way to keep the best of tex4ht and bring it to 
more 
modern tools, your project will be a success.

Charles

https://joinup.ec.europa.eu/software/odfpy/home

Reply via email to