Chapter Headings in ePub

First things first. Here are the versions currently in play:

  • OL: 7.4.2.3
  • Mac OS: 10.13.6

I have written a book that uses automatically chapter headings and no other text so that the heading appear as One, Two, Three, and so on. Each chapter is a separate file in a master document and the chapters will re-order as I rearrange the files.

All the styles, formats, and setup are (at this point) spot on. Indeed, if you print this out on paper, or export as a PDF it all renders flawlessly.

The problem is with export as ePub. If you export as ePub the chapter heading text disappears.

In raw HTML you end up with this:

<p class="para0"><span class="span0">&#160;</span>&#160;</p>

It should be something like this:

<p class="para0"><span class="span0">One</span>&#160;</p>

I can deal with the space there, but how do I coax Writer to sticking the chapter heading text into the HTML?

TIA;

Ken

The epub export function has its share of limitations. You should probably file this as an issue to the developers, although this is likely already known. In general, epub does not appear to export any text from a fields, such as the automatic number in a heading.

See 131512 – Many LO writer fields not passed thru to an epub