![]() |
#1 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2013
Device: Kindle
|
TOC wont show up
Hi,
I have always been able to get the TOC to show up in the Kindle Previewer button next to the cover button. But now I don´t seem to be able to make this happen. I have been using the html code <a name=“toc”></a><h2 id="toc">Table of Contents</h2> and this has always worked for me before - but now it doesn´t. Obviously the toc in the book itself still works but there is no way of getting back to it by clicking the TOC button. Any idea why this no longer works and what code I should use to make it work again. Thanks Nigel |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,691
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
While you're at it, also add Text to the beginning of the book and Cover to the cover page and/or the cover image. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2013
Device: Kindle
|
Hi Doitsu,
Thanks for that advice, although I have to say I am a little bit confused. I have done the html in Notepad++ and if I go the where the table of contents is in the html and right click it there does not appear to be anything that allows me to Add Add Semantics > Table of Contents. Am I looking in the wrong place here? Could you give me some more advice please. Thanks Nigel |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,691
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Most book designers use a separate file for the HTML TOC and add the proper semantics to it. However, if the whole book is stored n one file, you'll need to add an id to to first element of the TOC or the element immediately before it (e.g id="toc") and manually add the value of the id to the guide section in the .opf file. For example:
Code:
<guide>
...
<reference href="Text/book.xhtml#toc" title="Table Of Contents" type="toc" />
</guide>
(Make a backup copy first, before you attempt the above steps.) |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2013
Device: Kindle
|
Hi Doitsu,
Thanks for your prompt reply, really appreciated. In actual fact once I have formatted the html I import it into Sigil to make an epub file which I then get Amazon to convert into a mobi file. A bit long winded I know but that way I get a mobi and epub file to use. Anyway I will go the my epub file in Sigil and carry out your instructions and see if that does the trick. Many thanks for your help. Nigel |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Strongly missed: TOC should show Levels | ibu | Kobo Reader | 2 | 08-18-2013 07:54 AM |
help books wont send/or show up | contact | Calibre | 3 | 01-16-2013 11:57 PM |
kindle wont show books | gravydavey | Introduce Yourself | 7 | 08-29-2012 01:41 AM |
Classic Sideloading wont show up, and deleting problems. i cant take it anymore! | cherrybomber | Barnes & Noble NOOK | 5 | 06-02-2012 05:17 PM |
video wont show | mgconnection | enTourage Archive | 13 | 01-14-2011 02:48 PM |