
: EPUB 2 NCX How Should I Support pageList? My viewer has support for a TOC populated from NCX navMap entries. However some books I have come across have some pages in the navMap section and
My viewer has support for a TOC populated from NCX navMap entries.
However some books I have come across have some pages in the navMap section and some pages only in the pageList section.
e.g.
<navMap>
<navPoint class="h1" id="ch1">
<navLabel>
<text>Title</text>
</navLabel>
<content src="title.html#ch_1"/>
<navPoint class="h2" id="ch_1_1">
<navLabel>
<text>Title</text>
</navLabel>
<content src="title.html#ch_1_1"/>
</navPoint>
</navPoint>
</navMap>
<pageList>
<pageTarget id="p1" type="normal" value="1">
<navLabel><text>1</text></navLabel>
<content src="pages.html#p1"/>
</pageTarget>
<pageTarget id="p2" type="normal" value="2">
<navLabel><text>2</text></navLabel>
<content src="pages.html#p2"/>
</pageTarget>
</pageList>
I could just add pages after the navMap contents but I'm concerned that it's perfectly valid to populate both navigation types from the same source xhtml and I don't want parts of the book effectively appearing twice, once for the navMap and once for the pageList.
e.g.
<navMap>
<navPoint class="h1" id="ch1">
<navLabel>
<text>Chapter 1</text>
</navLabel>
<content src="book.html#ch_1"/>
<navPoint class="h2" id="ch_1_1">
<navLabel>
<text>Chapter 1</text>
</navLabel>
<content src="book.html#ch_1"/>
</navPoint>
</navPoint>
</navMap>
<pageList>
<pageTarget id="p1" type="normal" value="1">
<navLabel><text>1</text></navLabel>
<content src="book.html#p1"/>
</pageTarget>
<pageTarget id="p2" type="normal" value="2">
<navLabel><text>2</text></navLabel>
<content src="book.html#p2"/>
</pageTarget>
</pageList>
The specs seem vague on what to do. What is the recommended way to deal with this situation?
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Helen

: What is the different compatible formats between Kindle Paperwhite and Kindle Fire? More specifically, I would like to know why this eBook is not compatible with the Kindle Paperwhite. It says

: I recomend FBReader for opening the files with FBReader PDF and TTS+ Plugin. There are other applications you can use especially if you are willing to pay. https://play.google.com/store/apps/details?id=org.geometerplus.zlibrary.