Occasionally I convert an azw3 or epub and on viewing each paragraph is a new page.
It's caused by the person/program doing original formatting choosing to name the regular body style paragraph
<p class="chapter">some stuff</p>
Just use Calibre editor to rename the class to something like "p-indent"
Is there a way in any of the default conversion settings to detect this and automatically rename the class?
The default Structure detection is normally useful
Detect chapters at (X-Path expression)
Code:
//*[((name()='h1' or name()='h2') and re:test(., '\s*((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']
That splits the file as the only 100% reliable way to have a new page (in all formats) is a new file.