![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: May 2013
Device: all
|
![]()
I am using sigil to edit my epubs and then using calibre to convert them to mobi files for the Kindle. I can't understand why every time I convert the files to mobi the first line of my title page is separated from the rest of the title page. My cover shows up on the first page, the next page is only the first line of my title page and the 3rd page consists of the rest of the title page that should be on page 2. This is the case in both of my books I am trying to convert. All 4 lines of my title page are <h1> and they are in their own file called TitlePage.htm. There is no additional code that should cause a page break after the first line of the title. The epub versions do not do this on any reader. The code is as follows:
<title>Berger's 7mm VLD Bullets Part1</title> <link href="../Styles/Style0001.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 id="sigil_toc_id_1" title="Title Page">Berger's 7mm VLD Bullets</h1> <p> </p> <h1 class="sigil_not_in_toc">Part 1: Properties and Test Results</h1> <p> </p> <h1 class="sigil_not_in_toc">Bryan Litz</h1> <p> </p> <h1 class="sigil_not_in_toc"><a href="http://www.appliedballisticsllc.com/">www.appliedballictsllc.com</a></h1> </body> </html> |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,448
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Don't use H tags. The default in Calibre split there. Use <p> with classes.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,946
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You have your conversion (common options) set to INSERT blank lines
|
![]() |
![]() |
![]() |
#4 |
Gadget Freak
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, Note 8
|
Could use the ePubsplit plugin for calibre instead.
|
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Agreed. H tags can be triggers for special treatment, such as page breaks. Check your XPath expressions on the Structure Detection tab of the conversion dialogue.
I generally use: Insert page breaks before: //*[name()='h1' or name()='h2'] to ensure that I do get breaks on every H1 and H2. Alternatively you may be able to use something like: Code:
<h1 id="sigil_toc_id_1" title="Title Page">Berger's 7mm VLD Bullets <br/> <br/>Part 1: Properties and Test Results <br/> <br/>Bryan Litz</h1> So I would go with: Code:
<h1 id="sigil_toc_id_1" title="Title Page">Berger's 7mm VLD Bullets</h1> <p class="hdr1">Part 1: Properties and Test Results</p> <p class="hdr1">Bryan Litz</p> Code:
.hdr1 { font-size:2em; margin-top:0.5em; margin-bottom:0.5em } |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: May 2013
Device: all
|
I created a new p class that had similar attributes to h1 and it seemed to work. Thanks for the help everyone!
|
![]() |
![]() |
![]() |
Tags |
conversion to mobi, page breaks in mobi, split text, title page |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre conversion - Book title Editing | marijohn | Conversion | 1 | 10-29-2012 10:53 PM |
Calibre Conversion to .mobi and Title | Khan-Dam | Calibre | 8 | 11-12-2011 12:06 PM |
Converting html to ebpub - get Calibre logo on title page. | w_saunders | Conversion | 8 | 11-11-2011 02:14 AM |
page-template.xpgt conversion problems in ePub | slantybard | Conversion | 17 | 04-19-2011 05:44 AM |
How to disable conversion date in title and source link in page? | siebert | Recipes | 18 | 11-26-2010 12:57 AM |