[luatex] XML export from Latex

stefano franchi stefano.franchi at gmail.com
Sat Mar 1 21:00:02 CET 2014

On Sat, Mar 1, 2014 at 12:23 PM, Michal Hoftich <michal.h21 at gmail.com>wrote:

> Hi,
> you can use tex4ht for this. It uses LaTeX by default, but it can be
> configured to use lualatex instead. See [1] for htlualatex script, other
> option is to use make4ht [2] with `-l` option.
Hi Michal,

I use mk4ht often but my impression was that htlatex does not really work
with LuaTeX. It does work with XeTeX, though, and that's what I've been

The problem with htlatex, besides its current state of suspended animation,
is that it really uses a roundabout way to produce its output, having first
to go through (la|xe|lua)TeX processing to produce a customized DVI file
and then process the DVI to produce its final output.

I am thinking that the first part of htlatex process essentially duplicates
(Lua)TeX functionalities, and it would be easier, perhaps, to intervene in
LuaTeX itself and "redirect" the output to XML instead of DVI|pdf. The
existence of a XML module for context seems to validate this option (big
differences between Context and LaTex notwithstanding), but I admit I have
no knowledge whatsoever of LuaTeX internals and only a cursory one of

Any thought?


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

stefano at tamu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20140301/525c67c0/attachment.html>

More information about the luatex mailing list