View Single Post
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