<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Sylwester,
      <br>
      <br>
      try this way:<br>
      <br>
       \documentclass{mwbk}<br>
          \usepackage[tex4ht]{hyperref}<br>
          \setcounter{secnumdepth}{0}<br>
       <b> \makeatletter</b><b><br>
      </b><b>  \def\section@flags{0100}</b><b><br>
      </b><b>  \makeatother</b><br>
          \begin{document}<br>
            \section{bug}<br>
          \end{document}<br>
      <br>
      <pre class="moz-signature" cols="160">-- 
Deimantas
</pre>
      On 6/16/2014 2:39 PM, Sylwester Arabas wrote:<br>
    </div>
    <blockquote cite="mid:539ED767.40405@igf.fuw.edu.pl" type="cite">Dear
      All,
      <br>
      <br>
      Having a problem compiling a large "mwbk" document with tex4ht
      using hyperref, I've managed to track down the problem to the
      following short code:
      <br>
      <br>
          \documentclass{mwbk}
      <br>
          \usepackage[tex4ht]{hyperref}
      <br>
          \setcounter{secnumdepth}{0}
      <br>
          \begin{document}
      <br>
            \section{bug}
      <br>
          \end{document}
      <br>
      <br>
      When trying to compile using htlatex, it gives the following
      error:
      <br>
      <br>
          ...
      <br>
          No file bug.aux.
      <br>
          ! LaTeX Error: Something's wrong--perhaps a missing \item.
      <br>
          See the LaTeX manual or LaTeX Companion for explanation.
      <br>
          Type  H <return>  for immediate help.
      <br>
           ...
      <br>
          l.5   \section{bug}
      <br>
      <br>
      <br>
      Changing mwbk into book helps. Removing hyperref inclusion helps.
      Removing setcounter helps as well. Compiling with "pdflatex"
      instead of htlatex helps.
      <br>
      <br>
      Any help very welcome!
      <br>
      Thanks,
      <br>
      Sylwester
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>