Hi,

<div class="section" ...>
        <div class="..." ...>
        <div>
</div>

i.e. only divs and spans

I think that would be a more robust output format, technically, easier to adapt, and more readily conform to the strict XHTML tag subset.

The other issue I encountered was this:

\startfrontmatter
  \startstandardmakeup
    Title page
  \stopstandardmakeup

  \startstandardmakeup
    Copyright
  \stopstandardmakeup

  \completecontent
\stopfrontmatter

This produced "Title pageCopyright" as text without any markup, which makes the EPUB output a bit difficult to parse. I thought the software should output something like:

<div class="frontmatter">
  <div id="standardmakeup1" class="standardmakeup">Title page</div>
  <div id="standardmakeup2" class="standardmakeup">Copyright</div>
  <div class="contents"><!-- etc... --></div>
</div>

This way the title and copyright pages can be styled independently.

Kindest regards.