06-16-2011, 10:27 AM | #16 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
In version 0.4 Sigil will not change the opf by default. Only if you recreate the TOC with the headings, the opf will change.
|
06-16-2011, 11:04 AM | #17 | |
Colonel Mustard
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
|
Quote:
See there for accepted values: http://idpf.org/epub/20/spec/OPF_2.0...htm#Section2.6 It's because of this situation that I started using the "preface" reference type in my ePubs to set the opening page. But it didn't work as planned for the Mobi conversion. I opened a thread when I faced this problem a while ago: https://www.mobileread.com/forums/sho...d.php?t=130969 Didn't get the answers I wanted, but I noticed that now my Calibre-converted mobi always open on the "Title page" (semantics set in Sigil) on Kindle. No idea why it doesn't work for you. Only thing I see different from my current files (compared to the one I'm talking about in the thread) is that I never used again "page-break-before: always;" in CSS after that. Maybe it is related? |
|
06-16-2011, 04:11 PM | #18 |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
FWIW, here's how I do it (for an epub intended for conversion to mobi):
In Sigil (0.3.4 if it matters) I mark the file containing the first chapter with the semantic "text". Just to be clear, right-click the file in the book browser, choose "add semantics" and click "text". Make whatever other changes necessary for the mobi conversion, such as adding an inline TOC.xhtml, removing the cover page (but not the image) and so on. Save and exit. Then, expand the epub and edit content.opf. Make whatever changes are necessary to the guide (e.g. regarding the cover), and change the title= field in the <reference type="text" guide entry to title="Start Reading" ... Save, re-pack the epub, and use kindlegen to convert it to mobi. The kindle will open the book to the page pointed to by the "text" guide entry. The kindle's menu | go to | beginning entry will also take you there. Oh, and BTW if I'm not mistaken, during conversion Calibre does not pass on to mobi those <guide> elements that are non-standard or not supported by the mobi format. At least, that used to be the case several versions ago. I have not tried it lately. Bottom line is that the "text" guide element was ignored. Last edited by st_albert; 06-16-2011 at 04:14 PM. |
06-16-2011, 09:22 PM | #19 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Actually, for any epub->mobi conversion, merely marking the "text" semantic works, as I posted originally. What has not worked for the OP is that s/he is using Calibre, which apparently is ignoring the "text" semantic that, I agree, works perfectly (actually, without all the fooferah) in a straight-up KindleGen convo. I've never needed to edit the OPF and change the guide item; "text" works just fine for anything through MobiGen, KindleGen or Previewer. But, alas--it seems NOT to work via Calibre, but as I don't use Calibre as a production tool, I have no answer to this other than exploding the epub and adding the start location manually. HTH, Hitch |
|
06-17-2011, 11:48 AM | #20 | |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
Yes, I agree. Changing the "text" title to "Start Reading" is only cosmetic. But as I am usually into the content.opf for other purposes, I do make the change if I think of it. Actually, I think the Kindle devices (K3 anyway) just call it "beginning" anyway. (The "start reading" title does show up in Mobipocket Reader for PC though.) |
|
05-06-2012, 08:39 AM | #21 |
Enthusiast
Posts: 39
Karma: 972
Join Date: Jul 2011
Device: Kindle 3
|
For the record in the latest versions of Sigil and Calibre, setting the 'text' property to my title page worked perfectly in the eventual Kindle version. Of course only now do I realize that it also replaced the 'title page' property, but I can live with that. Does anything actually use that property?
|
05-06-2012, 06:51 PM | #22 |
Not who you think I am...
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
|
Make a half-title page, apply text-property to that.
Keep your title page, apply title-page-property. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"A Problem Occurred" on the "Shop" page. | swallman | Nook Color & Nook Tablet | 1 | 12-25-2010 12:34 PM |
Creator taking control of the "first page" link in the "content" menu | cyberbaffled | Kindle Formats | 2 | 07-11-2010 04:21 PM |
Thoroughly recommended - "Deluxe" Penguin eBook of "The Odyssey" | HarryT | Reading Recommendations | 32 | 05-29-2009 12:07 AM |
Swap "Prev Page" & "Next Buttons" ???? | kilofox | Amazon Kindle | 6 | 04-02-2008 11:39 PM |