View Full Version : 3-level TOC showing wrong in ADE


CrystalEYE
07-15-2010, 08:35 AM
Hey guys.
Maybe you can point out if I am doing something wrong or this is some ADE bug.
I am testing more-level TOC.ncx in epub and have encountered some strange problem.

What I want to create is the following TOC structure:

Kapitel 1
Ebene 2
Ebene 3
("Kapitel" means chapter, "Ebene" means level)
Sony PRS-505 and calibre (0.7.8) show all three levels like I want it to.
Cannot test on iBooks/ipad right now.

The Problem is, ADE (1.7.2) always discards the top level:

Ebene 2
Ebene 3

Is this a known bug in the current ADE version?
Or am I doing something wrong?

TOC.ncx looks like this:

<?xml version="1.0"?>
<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd">
<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1">
<head>
<meta name="dtb:uid" content="c8390c16-bb71-c888-12b1-2a2187103a39"/>
<meta name="dtb:depth" content="3"/>
<meta name="dtb:totalPageCount" content="0"/>
<meta name="dtb:maxPageNumber" content="0"/>
</head>
<docTitle>
<text/>
</docTitle>
<navMap>
<navPoint id="navpoint" playOrder="1">
<navLabel>
<text>Kapitel 1</text>
</navLabel>
<content src="44102_inhalt.xhtml"/>
<navPoint id="navpoint2" playOrder="2">
<navLabel>
<text>Ebene 2</text>
</navLabel>
<content src="44102_inhalt.xhtml#ebene2"/>
<navPoint id="navpoint3" playOrder="3">
<navLabel>
<text>Ebene 3</text>
</navLabel>
<content src="44102_inhalt.xhtml#ebene3"/>
</navPoint>
</navPoint>
</navPoint>
</navMap>
</ncx>

awp
07-15-2010, 02:49 PM
As I understand, it is a problem of ADE. If you create the following TOC structure (if you add more TOC items), it would display in ADE correctly:

Kapitel 1
Ebene 2
Ebene 3
Kapitel 2
Ebene 2
Ebene 3