|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2012
Device: Kindle Touch
|
How to define the "Start" or "Beginning" page in Calibre
I can't seem to define the "Start" or "Beginning" page when converting the raw HTML file to mobi in Calibre. It seems like most of the Kindle books I download start at Chapter One, missing out the front matter. This is how I would like to format Kindle books. It's a simple matter in mobipocket (there's a dialog box in the Guide section) What this does, is add a line to the OPF file in the Reference Section. I have tried using "Start reading at Xpath Expression" in Calibre under the Structure Detection menu, but haven't had any success. I've researched this online but haven’t found a solution. Can Calibre do this? How? If not it seems like a must-have wish list item. thx |
|
|
|
|
|
#2 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,489
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you are converting epub add the line to the opf in the epub using the tweak book feature and then convert it. If you are converting some other format, use the start reading at xpath expression. Read the Xpath tutorial in the user manual if you cant figure out how to use XPath.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Member
![]() Posts: 20
Karma: 10
Join Date: Jun 2011
Device: Kindle
|
Here's how I do it:
When converting to MOBI, make sure you have "debug" turned on. After the conversion, go to the "processed" folder in wherever you put the debug output. Edit the content.opf in there and add this line to the <guide> section: Code:
<reference href="mybook.html#start" type="start" title="Startup Page"/> Then, zip all the content in that processed folder and add the zip to Calibre. Convert that zip to a MOBI and it will retain your start page. |
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2012
Device: Kindle Touch
|
Kovid - I'm creating Kindle books direct from HTML not converting an epub. I did look at the Xpath tutorial and made several attempts but without success. It might be beyond the skillset of most authors to figure out Xpath.
Skeezix - Hadn't thought about that. Thanks - that ought to work. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I define the "first" page of an ebook? | bfollowell | Sigil | 21 | 05-06-2012 06:51 PM |
| "Insert Metadata as Start Page" Error | Ticket #7238 | carlyman | Calibre | 2 | 10-20-2010 10:30 AM |
| Creator taking control of the "first page" link in the "content" menu | cyberbaffled | Mobi | 2 | 07-11-2010 04:21 PM |
| Swap "Prev Page" & "Next Buttons" ???? | kilofox | Amazon Kindle | 6 | 04-02-2008 11:39 PM |