Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-19-2013, 09:15 AM   #1
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
ePUB to AZW3 - <Hn> tags are getting separated

In the ePub each chapter starts with the book title using <h6> followed by the chapter name using <h2>. On conversion to AZW3 these <h6> and <h2> tags become separated by a page break. How can I avoid this so that the <h6> and <h2> remain on the same page?

Exploding the AZW3 shows that the <h6> has actually been kept with the <h2> for Part0003.html, but after that these tags become separated.

Input, output and conversion logs files as attached. Default options used.
Attached Files
File Type: epub input.epub (52.1 KB, 139 views)
File Type: txt ConvLog.txt (4.3 KB, 199 views)
File Type: azw3 output.azw3 (74.7 KB, 279 views)
Agama is offline   Reply With Quote
Old 10-19-2013, 09:20 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,199
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look at the page breaks before and chapter marker options under the structure detection section of the conversion dialog.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-19-2013, 09:24 AM   #3
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Thanks. Changing chapter mark to "none" stops the page break.
Agama is offline   Reply With Quote
Old 10-19-2013, 09:24 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Have you tried a different setting than: 'chapter_mark': u'pagebreak',?

Are you using H# to control font sizes ?
theducks is offline   Reply With Quote
Old 10-19-2013, 09:28 AM   #5
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Yes, I am using H# to control font styling, (including size), and have now used chapter-mark = "none" to stop the problem. I didn't realise that I was using pagebreak as it was in the default options and I rarely convert to Kindle formats so I wasn't familiar with the options.
Agama is offline   Reply With Quote
Advert
Old 10-19-2013, 09:44 AM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Agama View Post
Yes, I am using H# to control font styling, (including size), and have now used chapter-mark = "none" to stop the problem. I didn't realise that I was using pagebreak as it was in the default options and I rarely convert to Kindle formats so I wasn't familiar with the options.
I only use H# for hierarchical levels
Code:
<h3 class="chapno">5 <br class="subspace" /><span class="subtitle">The Sub</span></h3>
Chapno sets the position and overall margin and also sets the Text
subspace controls the gap to the subtitle
subtitle controls that text
theducks is offline   Reply With Quote
Old 10-20-2013, 09:40 AM   #7
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
I use all <h#> tags for book styling but only <h1> to <h4> for hierarchy.
Agama is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Horrible conversions azw3 to epub Catlady Conversion 17 12-13-2015 04:31 AM
ePub > AZW3 failed with 0.9.34 JSWolf Conversion 3 06-11-2013 10:40 PM
Getting Fonts from epub to azw3? jonalbert Conversion 5 04-21-2013 10:19 PM
Conversion from epub to azw3 Joy736 Conversion 12 01-01-2013 11:00 AM
Extra "<p>" tags when converting to AZW3 from pdf MrTanquery Conversion 1 12-18-2012 03:12 PM


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


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