Hi Prannoy,

On Sun, Mar 2, 2014 at 10:56 AM, Prannoy Pilligundla <prannoy.b...@gmail.com
> wrote:

> I had a look at some recent posts on the Stack exchange and in LuaTex
> there is no package for LaTex to directly produce a XML.This is what we had
> expected but i still had some hope. So,the only way ahead was to write a
> module ourself. I spoke to one person in the LuaTex Developer mailing list
> via personal mails and he says that it can never be done by changes in the
> luatex engine and only way is to hook in some code via callbacks and it
> would demand some pretty large adaptions to the latex core code
> ᐧ
>
>

This is really not very good news, but thanks for looking into it.  Thanks
also for the links to the other latex--> projects. It looks like going the
LuaTeX route is a no go. I think that for the export to word we really have
only two options:

1. Making htlatex work out of the box (which now it doesn't) for us, with a
custom configuration file narrowly tailored to our test document and
perhaps with the long term goal of replacing htlatex's complex processing
of the DVI file with a simpler (because more narrowly focused) processing
of our own.

2. Adding to latexml the pieces ("bindings," in their language) that would
be needed to support biblatex, memoir, and the custom, LyX-only
functionalities that we need (tracked changes, etc.).

I think solution 1 is much simpler (and more effective---we get LaTeX
processing for free)--- but potentially riskier: we'd be depending on
unmaintained code and eventually replacing it with our own is a large
undertaking.

Solution 2 has the advantage of relying on actively developed code but it
may not be a trivial effort to write "bindings" for LaTeXML. From what I've
seen, it comes close to rewriting the packages. Let's take a few more days
to look into these options, especially option 2 (which I know the least
about), before committing to a path.

There is also an option 3, of course, which is to abandon a LyX solutio for
the LyX-->Word export, and focus instead and the LyX<-->Word roundtrip.


Cheers,

Stefano


-- 
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies         Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org

Reply via email to