05-09-2015, 10:37 AM | #16 |
Age improves with wine.
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
|
05-09-2015, 10:43 AM | #17 | |
Age improves with wine.
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
Code:
<h1>heading</h1> <h2>Subhead</h2> <p>Content</p> |
|
Advert | |
|
05-09-2015, 01:08 PM | #18 | |
just an egg
Posts: 1,662
Karma: 5432100
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
As far as I can tell, the only thing different about your code and mine is I don't use page-break-before in my CSS for <h1> (or <h2>). Have you deleted all H2 references in the Structure Detection settings as theducks suggested? My Structure Detection settings have no H2 references. |
|
05-09-2015, 01:10 PM | #19 | |
Age improves with wine.
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
Just to be on the safe side, I'm now putting "page-break-before: always" at the <body> level rather than <h1>, so each file comes out on a new page, but I'm not sure if that's necessary; it seems to happen anyway, but the whole pagination thing baffles me a bit. Interestingly, experiments show that it only seems to happen when there is an introductory para between the <h1> and <h2>. I have no idea why! |
|
05-09-2015, 01:48 PM | #20 |
Age improves with wine.
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Now here's a mystery; I changed the settings in the Prefs dialog. In the Prefs dialog it says "chapter mark: none" but when I go to convert a book and check the settings before I start the conversion, it says "chapter mark: pagebreak". The "Insert Page Breaks Before" option which I changed to "/" under Prefs comes out correctly.
I tried restarting Calibre but it made no difference. I seem to have to change the "chapter mark" setting manually on every conversion... |
Advert | |
|
05-09-2015, 04:04 PM | #21 | |
Well trained by Cats
Posts: 30,402
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Click the Restore (current) Defaults button at the bottom or remove the tick (in bulk mode) at the top |
|
05-09-2015, 11:37 PM | #22 | ||
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
I am not recommending you "alter the structure", I am recommending you "fix the structure". Assuming I have understood you correctly, you are doing something like: Quote:
|
||
05-10-2015, 02:08 AM | #23 | |
Age improves with wine.
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
Code:
<h1>Chapter 5: Defining new data types</h1> <p>In this chapter we will look at...</p> <h2>5.1 Standard data types</h2> <p>Blah blah blah</h2> |
|
05-10-2015, 02:18 AM | #24 |
null operator (he/him)
Posts: 20,950
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
05-10-2015, 02:21 AM | #25 |
Age improves with wine.
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Ah, thanks. So to make my settings take effect permanently, what I did was "convert EPUB to EPUB" for my entire library, remove the tick in bulk mode, and then when it asks do I want to reconvert EPUB to EPUB, say "no". Voila, the settings are now recorded. Kind of non-obvious, but oh well!
|
05-10-2015, 02:37 AM | #26 |
just an egg
Posts: 1,662
Karma: 5432100
Join Date: Mar 2015
Device: Kindle, iOS
|
nevermind
Last edited by odamizu; 05-15-2015 at 12:04 AM. |
05-10-2015, 10:23 AM | #27 | |
Well trained by Cats
Posts: 30,402
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You can override (the defaults) of any single book conversion at the conversion screen. It remembers what you used THEN and there. 'restore (clear those saved) makes it forget and pull a fresh 'default' |
|
05-10-2015, 01:08 PM | #28 | |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
|
|
05-10-2015, 01:50 PM | #29 |
Well trained by Cats
Posts: 30,402
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Why not work with the way things work and use H2 and H3
IIRC Calibre does not normally split at H3 Use the stylesheet to give H2 and H3 the desired look |
Tags |
page breaks |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Image Conversion problem from Epub to AZW3 | rosshalde | Conversion | 0 | 12-01-2014 10:48 AM |
table of contents problem in epub to azw3 | quizzz | Conversion | 0 | 02-22-2014 02:10 AM |
EPUB to AZW3 Duplicate first image problem | loopshot | Conversion | 1 | 10-30-2013 10:46 PM |
Problem with conversion from AZW3 to ePub | Kaetrin | Conversion | 3 | 05-30-2013 04:57 AM |
azw3 problem | theluckyfox | Conversion | 3 | 10-20-2012 03:38 PM |