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 08-16-2012, 10:00 AM   #31
msmith65
Enthusiast
msmith65 began at the beginning.
 
msmith65's Avatar
 
Posts: 31
Karma: 10
Join Date: Aug 2012
Device: Kindle
NOTE: I accidentally posted this on an unrelated thread yesterday. Apologies.


After studying this thread, I've come up with a macro that extracts the headings from my toc.ncx file, and repackages them as links with my heading text as the linked text.

Then I paste that list of links in my main text file, as a linked Table of Contents.

Will this pass muster with Amazon, ya think?
msmith65 is offline   Reply With Quote
Old 08-16-2012, 10:11 AM   #32
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: 15,061
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by msmith65 View Post
NOTE: I accidentally posted this on an unrelated thread yesterday. Apologies.


After studying this thread, I've come up with a macro that extracts the headings from my toc.ncx file, and repackages them as links with my heading text as the linked text.

Then I paste that list of links in my main text file, as a linked Table of Contents.

Will this pass muster with Amazon, ya think?
You do realize that the Sigil 6 beta, 5.902, has this functionality built in It builds a (simple) TOC page from the NCX contents.
theducks is online now   Reply With Quote
 
Advertisement
Old 08-16-2012, 10:41 AM   #33
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 2,037
Karma: 4836606
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by msmith65 View Post
Will this pass muster with Amazon, ya think?
If all of the TOC links are working and you didn't forget to add a TOC guide item (Add Semantics > Table of Contents) to the .opf file you shouldn't have any problems with Amazon as long as your book passes epubcheck and you use KindleGen to compile it.
Doitsu is offline   Reply With Quote
Old 08-18-2012, 02:40 PM   #34
Leverpullr
Member
Leverpullr began at the beginning.
 
Leverpullr's Avatar
 
Posts: 16
Karma: 10
Join Date: Jul 2012
Location: Left Coast
Device: Kindle/generic android tablet
@Tulpana

If you are preparing your book in Word, I strongly recommend to any non-html user or html newbie that is confused about how to create an inline TOC to get the free Kindle book by Mark Coker of Smashwords, http://www.amazon.com/Smashwords-Sty.../dp/B004XWJ7UK .

Specifically, use the tutorial in "STEP 20b" to create an inline linked TOC in MSWORD before importing to Sigil; it is both easy to understand and essentially bulletproof.
Leverpullr is offline   Reply With Quote
Old 08-20-2012, 04:56 PM   #35
msmith65
Enthusiast
msmith65 began at the beginning.
 
msmith65's Avatar
 
Posts: 31
Karma: 10
Join Date: Aug 2012
Device: Kindle
Quote:
Originally Posted by Doitsu View Post
If all of the TOC links are working and you didn't forget to add a TOC guide item (Add Semantics > Table of Contents) to the .opf file you shouldn't have any problems with Amazon as long as your book passes epubcheck and you use KindleGen to compile it.
In the manifest section, I see this:
Code:
<item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" />
and below the manifest section, there's:

Code:
<spine toc="ncx">
P.S. Currently the file passes epubcheck!

My client wants the TOC to appear in pieces within the document. It's a recipe book, so she doesn't want the 80 recipes taking up so much space at the top of the document. Can I toggle off the "usual" TOC that way, so that my custom links (described above) will be the only TOC-like feature that would appear in the book?

Last edited by msmith65; 08-20-2012 at 06:26 PM.
msmith65 is offline   Reply With Quote
Old 08-20-2012, 05:23 PM   #36
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,801
Karma: 18701526
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by msmith65 View Post
In the manifest section, I see this:
Code:
<item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" />
and below the manifest section, there's:

Code:
<spine toc="ncx">
My client wants the TOC to appear in pieces within the document. It's a recipe book, so she doesn't want the 80 recipes taking up so much space at the top of the document. Can I toggle off the "usual" TOC that way, so that my custom links (described above) will be the only TOC-like feature in the book?
Are you making an ePub or Mobipocket eBook? How the ToC works depends on what format this will eventually be.

In an ePub eBook, the ToC is the NCX file and is outside of the eBook with a link to display it. An NCX ToC supports levels so you can have like desserts and then under that, all the dessert recipes.

With a Mobipocket eBook, the ToC is a page or pages of links inside the eBook. No levels. So you will be needing at least three screen's worth of ToC entries for a cookbook with 80 recipes.
JSWolf 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
Kindler previewer not recognizing toc.ncx file, my html toc, or the start point... petercrowell Kindle Formats 2 05-01-2012 09:14 AM
Generated TOC links back to TOC page in the book Caleb666 Sigil 7 08-17-2011 12:58 PM
Use Regex to Code an Inline TOC, from an External TOC's .ncx File mostlynovels ePub 2 03-16-2011 01:15 PM
ePub TOC to mobi TOC edmnddntes Conversion 5 01-24-2011 03:56 AM
Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working Magitek LRF 0 05-06-2009 02:25 PM


All times are GMT -4. The time now is 11:35 AM.


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