View Full Version : TOC with filenames when exporting from ID55


BlindHen
10-16-2011, 09:48 PM
Hi,

when I export a book from InDesign 5.5 to epub, the navigatinal TOC in iPad and iPhone just contains the names of the individual idd-files in the book - not the headers of these chapters.

Like this:

intro_text
1_chapter

Instead of:

Introduction
The big lie

Even stranger, when I open the toc.ncx file, this is what it looks like:

<navPoint id="navpoint1" playOrder="1">
<navLabel>
<text>Introduction</text>
</navLabel>
<content src="intro_text.html#toc_marker-1"/>
</navPoint>
<navPoint id="navpoint2" playOrder="2">
<navLabel>
<text>The big lie</text>
</navLabel>
<content src="1_chapter.html#toc_marker-2"/>
</navPoint>

So when the correct names from the headings of each chapter really are inside the <text></text>, why on earth don't they show up in the Navigational TOC??

Toxaris
10-17-2011, 01:55 AM
Have you checked your content.opf?

BlindHen
10-17-2011, 02:19 AM
Well, the manifest part typically looks like this:
<manifest>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="css" href="template.css" media-type="text/css"/>
<item id="e-javla_01_titelsidor" href="e-javla_01_titelsidor.html" media-type="application/xhtml+xml"/> ...

and the spine part

<spine toc="ncx">
<itemref idref="e-javla_01_titelsidor"/> [etc]

- which didn't make me wiser, I must admit.

Anything wrong with the output from ID here?

Toxaris
10-17-2011, 09:37 AM
Could you post the ePUB or part of the ePUB.

BlindHen
10-17-2011, 01:09 PM
Thank you, Toxaris!

The file can be downloded from here (http://kornet.nu/downepub.html):

Toxaris
10-17-2011, 04:59 PM
My swedish is not wat is used to be ;)

It looks fine though in ADE and Sigil. The structure is sound. However, validation gives a problem with the OTF files. You have to look around though, it might be an error in the validation tool. I remember something about errors reported for otf files.

wannabee
10-17-2011, 08:36 PM
try selecting Suppress automatic entries for documents if it's in 5.5
this is what it looks like in 5