View Single Post
Old 09-30-2011, 09:07 PM   #5
jackie_w
Wizard
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: 2,880
Karma: 4200035
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
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