[tex4ht] tex4ht + hyperref + mwbk + secnumdepth issue

Sylwester Arabas sarabas at igf.fuw.edu.pl
Mon Jun 16 13:39:19 CEST 2014

Dear All,

Having a problem compiling a large "mwbk" document with tex4ht using 
hyperref, I've managed to track down the problem to the following short 


When trying to compile using htlatex, it gives the following error:

     No file bug.aux.
     ! LaTeX Error: Something's wrong--perhaps a missing \item.
     See the LaTeX manual or LaTeX Companion for explanation.
     Type  H <return>  for immediate help.
     l.5   \section{bug}

Changing mwbk into book helps. Removing hyperref inclusion helps. 
Removing setcounter helps as well. Compiling with "pdflatex" instead of 
htlatex helps.

Any help very welcome!


More information about the tex4ht mailing list