Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-02-2012, 11:41 AM   #1
DanPotter
Junior Member
DanPotter began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2012
Device: Kindle
Guide statements not working on a kindle

okay I'm making this ebook as an epub first via sigil. Then using amazon to convert it to mobi

I have the NCX file working. I have a linked table of contents, but it cannot find the TOC nor the start of the text (opens on the title page)

I think the trouble is with these lines of code on the bottom of my content.opf file.

<guide>
<reference href="toc.xhtml" title="Table of Contents" type="toc" />
<reference href="Chapter 1.xhtml" title="Beginning" type="text" />
</guide>

Can anyone help?
DanPotter is offline   Reply With Quote
Old 05-02-2012, 07:07 PM   #2
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by DanPotter View Post
okay I'm making this ebook as an epub first via sigil. Then using amazon to convert it to mobi

I have the NCX file working. I have a linked table of contents, but it cannot find the TOC nor the start of the text (opens on the title page)

I think the trouble is with these lines of code on the bottom of my content.opf file.

<guide>
<reference href="toc.xhtml" title="Table of Contents" type="toc" />
<reference href="Chapter 1.xhtml" title="Beginning" type="text" />
</guide>

Can anyone help?
The guide should look something like this:

Code:
  <guide>
    <reference href="Text/The%20Mystery%20of%20Room%2075.htm" title="Cover" type="cover" />
    <reference href="Text/The%20Mystery%20of%20Room%2075_0002.xhtml" title="Title Page" type="title-page" />
    <reference href="Text/The%20Mystery%20of%20Room%2075_0003.xhtml" title="Table Of Contents" type="toc" />
    <reference href="Text/The%20Mystery%20of%20Room%2075_0004.xhtml" title="Start Reading" type="start" />
  </guide>
I think in your code
Code:
<reference href="Chapter 1.xhtml" title="Beginning" type="text" />
Should be
Code:
<reference href="Chapter 1.xhtml" title="Beginning" type="start" />

Last edited by crutledge; 05-02-2012 at 07:12 PM.
crutledge is offline   Reply With Quote
Advert
Old 05-03-2012, 08:56 AM   #3
mncowboy
Wanderer
mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.
 
mncowboy's Avatar
 
Posts: 106
Karma: 472218
Join Date: Jan 2011
Device: Kindle 3, PaperWhite 2
The easiest way is to let Sigil do it for you.
I would delete those 2 lines from the guide section.
Then go to the book browser, right click on your toc.xhtml file, choose Semantics, and check the Table of Contents.
Then right click on the Chapter 1.xhtml file, choose Semantics, and check Text.
Make sure that only one file has Text checked as its Semantics.
Now check your content.opf file and see how Sigil populated it. This will now convert correctly to mobi format
Bob
mncowboy is offline   Reply With Quote
Old 05-03-2012, 01:05 PM   #4
DanPotter
Junior Member
DanPotter began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2012
Device: Kindle
Thanks, having Sigil do it for me worked! And I see what was wrong with my code.
DanPotter is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Are there CSS-Statements that slow everything down? Cyberman tM ePub 6 11-04-2011 10:51 AM
Working in the UnOffice: A Guide to Coworking (business, nonfiction) gendeg Self-Promotions by Authors and Publishers 0 08-30-2011 02:01 AM
Working my Way through The Busy Coder's Guide to Android Development kennyc Android Developer's Corner 22 09-25-2010 12:58 PM
Aussie guide to getting a Kindle DX Kittenish Which one should I buy? 3 05-08-2009 03:18 AM


All times are GMT -4. The time now is 09:12 AM.


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