
: How to avoid sporadic page breaks in epub when using page markers? I'm inserting page markers to an epub file to then create a page list to reflect page numbers that mimic the print version
I'm inserting page markers to an epub file to then create a page list to reflect page numbers that mimic the print version of the book, i.e.:
<span epub:type="pagebreak" id="page4" title="4" />
Oddly, sometimes the epub breaks to a new page to start the paragraph following the paragraph which contains the page marker. This is the code for the attached screenshot:
<p class="paragraph _idGenParaOverride-1"><span class="CharOverride-8"><a id="_idTextAnchor016"></a>Hostility of suffocation</span>: Cea que nimpero eliqui dit as dendita tesenempos alignatiis evelit quas nos etur? <span epub:type="pagebreak" id="page4" title="4" />Ehenti omnis rehent, occullo remolla num ea dus eum facit es sit facessed eos sernam dolupta ssequis sam es et qui commod quibust iostiis sus quiant aliquiam, sedi velis exped que ad evelignim laborrum et, quam et et pror apicipitata id que simus, si aborat ut am, sed ea quidige ndesed quas alibus et doloribus evenihit evendam ilictate quatatur?</p><p class="paragraph"><span class="CharOverride-8"><a id="_idTextAnchor018"></a>Religion</span>: Ehenti omnis rehent, occullo remollanum ea dus eum facit es sit facessed eos sernam dolupta ssequis sam es et qui commod quibust iostiis sus quiant aliquiam, sedi velis exped que ad evelignim laborrum et, quam et et pror apicipitata id que simus, si aborat ut am, sed ea quidige ndesed quas alibus et doloribus evenihit evendam ilictate quatatur?</p>
Obviously, there's plenty of room for the "Religion" paragraph to flow directly under the "Hostility" paragraph, but it keeps getting kicked to the next page. I can't find anything in the code that would do that, and the odd thing is this only happens sometimes. Other places where I have inserted the page marker code, the pages flow normally as expected.
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Jennifer

: Onenote to mobi I have written the first draft of a book in OneNote and want (ultimately) to get it in mobi format. Can I export from OneNote to mobi, or should I abandon OneNote and use

: Where can I find a list of the limitations of iOS KF8 (Kindle format on iOS)? Apparently, Kindle devices/the Windows/Mac apps, and Android all support KF8 more or less completely, but on iOS,
1 Comments
Sorted by latest first Latest Oldest Best
I cleaned up the code by deleting the excess id tags (these were added by inDesign when exporting to epub and were unnecessary), and that fixed it. Still no idea why this specific paragraph had issues and not others, which also contained excess id tags. Turns out, inDesign had added some nice little code to the CSS for the class "_idGenParaOverride-1" to ALWAYS page break after. So I guess the only lesson here is beware of the inDesign-created stylesheet...
Free books android app tbrJar TBR JAR Read Free books online gutenberg