Just noted an unexpected behaviour for out of sequence TOC entries in koreader for Linux and Android.
Manually created a TOC (see attached toc.txt) for the new koreader user guide . In addition to the TOC entries made from the section headers, an additional custom tree named 'IMAGES' directly pointing to the pictures of the document was inserted.
Following command was used to merge both the pdf and the TOC text file (in Linux):
Code:
pdftk koreader-user-guide.pdf update_info bookmarks.txt output koreader-ug-with-toc.pdf
The resulting pdf file 'koreader-ug-with-toc.pdf' is attached to this post.
As can be seen already on the attached screenshots, while the additional entries show the referenced pages within brackets, the actual redirection always points to the same page 1.
This is reproducible for any koreader version on both amd64/arm64 Linux and Android/arm using a Boyue Note/Mimas.
Using either xpdf or acroread-9.5.5 (via Wine) in Linux, the TOC display and jumping to the expected page works as expected.
Expected behaviour for koreader TOC would be to function the same as the forementioned pdf readers.