View Single Post
Old 05-02-2022, 01:54 AM   #3
acarter5
Junior Member
acarter5 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2022
Device: onyx boox note air
Quote:
Originally Posted by kovidgoyal View Post
There is no (simple) api for accessing tocs. In general you would use the polish container class with an epub or azw3 book to get tocs.

And none whatsoever for getting titles from page numbers (page numbers are very ill defined things).

ToC information when available is automatically added to annotations when they are creted. If it isnt there, it means it was not available.
Would it be possible to get the chapter title with the XPath of the annotation?
acarter5 is offline   Reply With Quote