View Single Post
Old 01-23-2021, 10:08 PM   #1
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 451
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
Chapter Titles as <ol> Styles in docx-->epub Conversion

System: Calibre 5.10.1, Ubuntu 20.04, LibreOffice 7.0.4.2

I've seen many suggestions to the effect that, if using Writer, a save as docx instead of odt before conversion to epub will give better results, so I have begun trying it. Yes, in general, there are no weird <span>s and so on.

But I find chapter titles, which were all plain "Heading 1" in Writer, come through as list styles. Example:

Code:
<ol class="list_">
    <li value="3" class="block_4" id="toc_id_3"><b class="calibre1">Chapter 3</b></li>
  </ol>
Is this normal? It seems a strange way to code chapter titles. And it makes it slightly more difficult to edit into the <h1 class="chapter"> sort of style I normally use. (Doesn't happen with odt conversion.)

Is there some way to avoid this behaviour?

Thanks...
retiredbiker is offline   Reply With Quote