Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2013, 04:31 PM   #1
EbookNoob
Junior Member
EbookNoob began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2013
Device: all
Question Title page conversion problems in Calibre

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>&nbsp;</p>

<h1 class="sigil_not_in_toc">Part 1: Properties and Test Results</h1>

<p>&nbsp;</p>

<h1 class="sigil_not_in_toc">Bryan Litz</h1>

<p>&nbsp;</p>

<h1 class="sigil_not_in_toc"><a href="http://www.appliedballisticsllc.com/">www.appliedballictsllc.com</a></h1>
</body>
</html>
EbookNoob is offline   Reply With Quote
Old 05-08-2013, 05:49 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,713
Karma: 18475602
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Don't use H tags. The default in Calibre split there. Use <p> with classes.
JSWolf is offline   Reply With Quote
Old 05-08-2013, 06:30 PM   #3
theducks
Grand Sorcerer
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: 14,910
Karma: 5880479
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
You have your conversion (common options) set to INSERT blank lines
theducks is offline   Reply With Quote
Old 05-09-2013, 06:34 AM   #4
Gunnerp245
Gadget Freak
Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.
 
Gunnerp245's Avatar
 
Posts: 1,126
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, PE, Note 8
Could use the ePubsplit plugin for calibre instead.
Gunnerp245 is offline   Reply With Quote
Old 05-09-2013, 07:48 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: 667
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300 (R.I.P.), PW2, Nexus7
Quote:
Originally Posted by JSWolf View Post
Don't use H tags.
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/>&nbsp;
<br/>Part 1: Properties and Test Results
<br/>&nbsp;
<br/>Bryan Litz</h1>
but this feels a bit clunky.

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>
where .hdr1 is something like:

Code:
.hdr1 { font-size:2em; margin-top:0.5em; margin-bottom:0.5em }
or whatever sizes you need to match your h1 tags.
Agama is offline   Reply With Quote
Old 05-09-2013, 05:39 PM   #6
EbookNoob
Junior Member
EbookNoob began at the beginning.
 
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!
EbookNoob is offline   Reply With Quote
Reply

Tags
conversion to mobi, page breaks in mobi, split text, title page

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:15 PM.


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