View Full Version : inDesign/epub -- TOC missing subchapters/appears as dropdown


rosajurjevics
05-23-2011, 01:01 AM
Hello,

I am having the following irritating problems:

1) After exporting to EPUB, my TOC appears as a series of drop-down menus (indicated by a + sign) in Digital Editions. Sometimes there are extra spaces between the chapter name and the + sign that, if clicked, reveals the subchapters.

2) Once I convert to mobi, some of the subchapters disappear ENTIRELY.

Some important info:

1) I'm using CS5.5, but the original inDesign files/inDesign book were made in CS5
2) I'm using a Mac
3) I used Calibre to convert from EPUB to mobi
4) My TOC Style, made using paragraph styles, has the following structure:
Preface
Chapter
Chapter Subheading (subchapter)

Any and all advice appreciated!!

Adjust
05-23-2011, 05:54 AM
All sub heading levels <i>will</i> appear as a collapsable menu in ADE.

Take a read here. Although It's for CS3, it shows you how to edit you epub files to get the results you need...
http://www.mobileread.com/forums/showthread.php?t=123439

Basiclly in the TOC.ncx file you can change the order of the toc by changing the </navpoint>s

Adjust
05-23-2011, 05:55 AM
Also check out Liz Castro blog
http://www.pigsgourdsandwikis.com/

rosajurjevics
05-23-2011, 08:45 AM
Hello,

Thanks for responding!
So there's nothing I can do about the dropdown problem in iD? That's a real pain in the ass, because I've got over 100 chapter subheadings...

I'm afraid I don't entirely understand your documentation. So I can ditch the TOC.ncx file altogether and make a fresh TOC elsewhere?

Thanks again,
R

Adjust
05-23-2011, 07:52 PM
Hello,

Thanks for responding!
So there's nothing I can do about the dropdown problem in iD? That's a real pain in the ass, because I've got over 100 chapter subheadings...

I'm afraid I don't entirely understand your documentation. So I can ditch the TOC.ncx file altogether and make a fresh TOC elsewhere?

Thanks again,
R

No. My documentation was just to show you how to "crack open" an epub for editing and then how to zip up again back into an epub...

You just need to edit the toc file in a text editor. (I use TextWrangler) Wordpad or something like that for PC users.

So below is what you TOC.NCX file looks like:
I've indicated what I'm talk about with red arrows and lines.
So Basicly everything has a </navpoint> at the end except where the next level appears..
TOC
Prelims</navpoint>
Level_one
Level_two</navpoint>
Level_two</navpoint>
Level_two</navpoint></navpoint>
Level_one</navpoint>
Level_one</navpoint>
Level_one
Level_two</navpoint>
.
http://i41.photobucket.com/albums/e276/marcusstringer/Picture1-53.png

So by moving the </navpoint> marker around, you get various TOC levels
Or by adding </navpoint> to the end of every line you will remove the level structure

rosajurjevics
05-23-2011, 08:54 PM
Oh, fantastic, now I get it! I think... I hope...

Adjust
05-23-2011, 09:14 PM
No problems mate. Glad it makes sense