![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2013
Device: Kindle Paperwhite
|
TOC in Kindle UI, not in plain page
Hi guys,
I'm not sure I'm at the right place to ask that. If I don't, feel free to drive me elsewhere. I'm trying to create my first Kindle ebook. In every single tutorial I read, people recommend to create a TOC. I can see how useful it is, but I've seen a lot of ebooks beginning with (a lot of) pages of TOC. Is there an easy way to create a TOC which shows only using the Kindle UI? I'm not afraid about HTML & CSS, but if there's to create it from Apple Pages without pasting every single chapter to Sigil... Well, you'll save my day. Best regards! |
![]() |
![]() |
![]() |
#2 |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
TOC
If you can load your book tp Sigil, a TOC.ncx can be created based on the headers in the book.
If you then save the sigil book as an epub, and send this ePub to KindlePreviewer, the toc will display on the kindle. An in-line TOC requires a bit more effort. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Simply press CTRL+T in Sigil, select the headings that you want to include in the TOC and press OK. Then select Tools > Table of Contents > Create HTML Table Of Contents and you're done. It no headings are shown in the TOC editor, you'll have to highlight each chapter heading and click h3 (or another heading size) on the toolbar to mark it for inclusion in the TOC. |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2013
Device: Kindle Paperwhite
|
Many thanks for your help!
I'm not really fond of an inline Toc honestly. I've exported my text directly to epub and opened it with Sigil. Let's start with the good news: my toc.ncx is here and it looks complete; the html is quite messy but links in the right panel are active. Bad news: all my first pages (title, rights, quote) are mixed in my cover.xhtml file. For sure, I don't want those pages to show in the TOC. But I don't want them to mix together either. How should I solve that issue? Should I create different .xhtml files for title, rights and quotes? In that case, how to extract them from the TOC? Erasing code in the .ncx? Best regards, |
![]() |
![]() |
![]() |
#5 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
Of course, you can also manually delete them from the .ncx file. ![]() |
||
![]() |
![]() |
Advert | |
|
![]() |
#6 | |||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hi: I have several comments replying to things that other folks have said, as well. Quote:
Quote:
If you don't want something to show in the NCX, simply remove it. You can uncheck it during the "create toc" process, or you can edit the NCX and remove it manually. Either way is pretty painless. If you're that opposed to a long TOC, simply make a short one (Title, Start Reading) and hope that it flies. Do not confuse and conflate the NCX, which provides useful information to the reader (% complete, and the like), with the inline TOC, which is useful but not part of the device's own navigation. Also, be advised that Amazon routinely puts the Start Reading Location--no matter WHERE you've coded it to begin--at the first "page" past the TOC. Hitch |
|||
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2013
Device: Kindle Paperwhite
|
Thank you Doitsu. I know how to generate an appropriate TOC now!
And Hitch, many thanks for all those precisions. I've read on another thread the limitations of the .ncx on the Kindle Family. For sure, I won't kill my book for some cosmetic issues. I'll make my ebook respecting amazon Guidelines. 32 chapters numbered 1-32 will be ugly but, hey, if Daddy said to do so... I think I'm on for a funny copy & paste session on Sigil. My workflow adds a lot of mess to the code (Apple Pages > Word > KDP). I think I'll win a lot of time time starting over. Should have guessed it, but hope is hard to kill. Thanks for all! Best regards, |
![]() |
![]() |
![]() |
#8 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
And you're welcome. No problem. Hitch |
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2013
Device: Kindle Paperwhite
|
To be honest, (almost) everything went right with Pages. My doc was easy with styles (one for the chapter, one fort the body). I sent it to my Kindle with Calibre and was really happy with it (Calibre even created a TOC at the end of the book).
But creating an inline TOC is another story. Pages can't create an active unnumbered TOC. Neither does my 2011 Word for Mac. When I tried to create manual links, problems started. Considering other issues, it looked better to change my mind and start from Scratch with Sigil. Easier CSS, easier debugging, right? I'm done with the importing now (that chapter split button is my new best friend) and have only some little things to fix left, like the backspace at the beginning of a paragraph and the vertical space between them. But I think I'll find quickly a solution playing with Sigil or with the css file. So thanks everybody! ![]() |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2013
Device: Kindle Paperwhite
|
Well, everything went fine. I'm ok with my styling (no vertical-align for my title, but there's no way to do it, right?).
There's a last problem though. I now have a three-pages TOC. I'm fine with it, but if I select the start of the book with the previewer, the second page of my TOC shows up. Hitch, you're saying there's absolutely no tick to change this? |
![]() |
![]() |
![]() |
#11 | |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
Which brings me to the dumb question of the day. Where is sgc-toc.css located? I have searched the Sigil folder and all of the User folders (Win 7 Pro) and have not located it. I wish to make some additions and making those additions each time Sigil runs is repititous. Last edited by crutledge; 08-22-2013 at 01:05 PM. |
|
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#13 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#14 |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
|
![]() |
![]() |
![]() |
#15 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
http://web.sigil.googlecode.com/git/..._contents.html
Quote:
http://web.sigil.googlecode.com/git/...eferences.html Quote:
Paul |
||
![]() |
![]() |
![]() |
Tags |
ebooks creation, kindle, toc creation |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
TOC chapter jump blank page - kindle | wyatt650 | Sigil | 3 | 04-12-2013 03:27 PM |
More than one page of TOC? | Steven630 | Recipes | 5 | 03-14-2013 11:01 AM |
Generated TOC links back to TOC page in the book | Caleb666 | Sigil | 7 | 08-17-2011 11:58 AM |
My plain old .mobi file synched to last page read?!? | Gwen Morse | Amazon Kindle | 2 | 09-01-2010 03:47 AM |