Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-18-2010, 03:42 PM   #1
jloakes
Junior Member
jloakes began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2010
Device: iPad
Force Calibre not to add Page Breaks on H1 and H2 Tags

Is there anyway not to force Calibre not to add Page Breaks on H1 and H2 tags?

I am trying to convert PDFs to ePubs.

I am using XPath to predict where pages begin by searching for the word "Page" in every header, this works well except where certain sub headings in the middle of the page that have a h1 tag applied after the conversion.

Is there anyway to disable this behavior?

In Structure Dectection option i have tried everyone of the Chapter Mark: options. When i try None or Rule it only breaks at the the h1 or hw tags.

Pagebreak and both break at my XPath code and at h1 and h2. Not sure why this happens that way.

I am using calibre 0.7.28 on OSX 10.6.4
jloakes is offline   Reply With Quote
Old 11-18-2010, 03:55 PM   #2
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
At the bottom of the Structure Detection tab, there is also another field for page breaking, do you not have h1 and h2 in there?
janvanmaar is offline   Reply With Quote
Advert
Old 11-18-2010, 04:08 PM   #3
jloakes
Junior Member
jloakes began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2010
Device: iPad
I do, thanks for the help
jloakes is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobi page breaks in Calibre viewer DaleDe Calibre 3 04-04-2011 01:58 AM
Force open to cover (first) page? foghat Calibre 4 04-01-2011 09:54 AM
Any way to force a title page for new ebooks? danwdoo Calibre 0 11-03-2010 03:06 PM
Force page breaks in epubs alexvallette ePub 11 09-06-2010 07:53 AM
Any way to force page breaks when converting HTML to EPUB Bierkonig Calibre 23 10-31-2009 01:51 PM


All times are GMT -4. The time now is 04:39 AM.


MobileRead.com is a privately owned, operated and funded community.