[tex4ht] [bug #320] unknown problems using XeTeX to create a ODT

Michal Hoftich michal.h21 at gmail.com
Mon Jul 18 21:52:52 CEST 2016

Follow-up Comment #4, bug #320 (project tex4ht):

various commands which can be used to invoke tex4ht are in fact quite similar,
they differ only in used TeX engine and parameters. you have command for use
XeTeX and generate HTML (htxelatex), for ODT you can use ooxelatex. To use
normal LaTeX, there is htlatex and oolatex. Unfortunately, there is no script
for LuaTeX, which is supported only by make4ht. It is another way to invoke
tex4ht (run "texdoc make4ht" in the terminal for more info).

XeTeX currently causes tex4ht to fail, so if you want to use Polyglossia and
Fontspec, you may use LuaTeX. It is not so easy, because both of these
packages are unsupported by tex4ht, so you must load alternative versions
which works with tex4ht. You can try to install these alternative packages


put file "usepackage.4ht" which is attached in directory with your TeX file
and run:

make4ht -ulm draft sample.tex "xhtml,ooffice" "ooffice/! -cmozhtf" "
-cooxtpipes -coo"

I realize that it is not really user friendly, but at least it seems to work.

(file #254)

Additional Item Attachment:

File name: usepackage.4ht                 Size:2 KB


Reply to this item at:


  Message sent via/by Puszcza

More information about the tex4ht mailing list