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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-16-2011, 10:27 AM   #16
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,850
Karma: 2417001
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is offline   Reply With Quote
Old 06-16-2011, 11:04 AM   #17
mtrahan
Colonel Mustard
mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.
 
mtrahan's Avatar
 
Posts: 87
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPod Touch, Kindle 3, iPad 2
Quote:
Originally Posted by bfollowell View Post
Now that I know I can fix this by manually editing the opf, I have no problem, until I go back into Sigil and edit an epub for some reason. If I do that, Sigil removes my start page definition. I'm not really sure why but it does.
It does that because "start" isn't an accepted reference type for the Guide section of the OPF, according to ePub standards. It's not a Sigil problem.

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: http://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?
mtrahan is offline   Reply With Quote
Old 06-16-2011, 04:11 PM   #18
st_albert
Fanatic
st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.
 
Posts: 542
Karma: 64420
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.
st_albert is offline   Reply With Quote
Old 06-16-2011, 09:22 PM   #19
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,206
Karma: 11694035
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by st_albert View Post
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.
St. Albert:

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
Hitch is offline   Reply With Quote
Old 06-17-2011, 11:48 AM   #20
st_albert
Fanatic
st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.
 
Posts: 542
Karma: 64420
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by Hitch View Post
St. Albert:

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
Hitch:

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.)
st_albert is offline   Reply With Quote
Old 05-06-2012, 08:39 AM   #21
Evil Overlord
Junior Member
Evil Overlord began at the beginning.
 
Posts: 5
Karma: 10
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?
Evil Overlord is offline   Reply With Quote
Old 05-06-2012, 06:51 PM   #22
capidamonte
Not who you think I am...
capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!
 
capidamonte's Avatar
 
Posts: 343
Karma: 5337
Join Date: Jan 2010
Location: Honolulu
Device: Sony PRS-350
Make a half-title page, apply text-property to that.

Keep your title page, apply title-page-property.
capidamonte is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 06:29 AM.


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