View Single Post
Old 09-30-2011, 08:07 PM   #5
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by therealjoeblow View Post
Yep, I had an anchor, then the <div class="pagebreak"> then another anchor, then my chapter heading (h2). I moved the pagebreak to before the first anchor (so now I have div, a, a, h2) and it works fine, only this is a manual pain in the butt....
You don't need anything other than the chapter heading tags (<h2> in your case) in your html file. Calibre will insert the chapter pagebreaks when you convert the html to epub, depending on your settings on the Convert - StructureDetection page.
jackie_w is offline   Reply With Quote