Quote:
Originally Posted by kovidgoyal
depends on whether you consdier the counting 0 based or 1 based. calibre has always done this 1- based, it's not going to change at this point.
|
Kovid,
Ok. Since it's 1 based, the value should be 1 or more, right?
That's also what is defined by the
specs:
Quote:
dtb:depth
Content: Positive integer indicating depth of structure of the DTB as exposed by the NCX.
Occurrence: Required
|
But the way calibre sets this value, a flat TOC gets a depth of 2. Shouldn't it be 1?