[tex4ht] Crossreferences/Labels in OpenOffice conversion

Hans Georg Schaathun georg+tex at schaathun.net
Thu Mar 31 10:37:43 CEST 2016


Hi,

I have some experience using tex4ht to produce web pages.
Trying an OpenOffice conversion for the first time, I find
that labels/crossreferences do not work.

In fact, there are two errors.  Citations (using bibtex)
show empty brackets in the text.  They are correct in the
bibliography.  Secondly, captions start with just the colon
without the preceding Figure/Table and number.
Furthermore the abstract text is missing.

I compile with

latex article
bibtex article
latex article
latex article
latex article
htlatex article.tex "xhtml,ooffice,bib-,mathml-" " -cmozhtf" "-coo"

This gives me an OpenOffice document which I can open in libreoffice, 
and it is acceptable except for the missing labels and abstract.  

If I remove the ooffice option for htlatex, I get a correct
HTML page with all the labels as they should be, even with
the hyperlinks as they should.

Is there a simple fix for this?  Any pointers at all?

If a minimal(ish) example is useful, there is one here:
  http://kerckhoffs.schaathun.net/test/minimal.tex
  http://kerckhoffs.schaathun.net/test/minimal.odt
  http://kerckhoffs.schaathun.net/test/minimal.html

TIA,
-- 
:-- Hans Georg


More information about the tex4ht mailing list