View Single Post
Old 06-09-2022, 03:36 PM   #6
innocenat
Zealot
innocenat ought to be getting tired of karma fortunes by now.innocenat ought to be getting tired of karma fortunes by now.innocenat ought to be getting tired of karma fortunes by now.innocenat ought to be getting tired of karma fortunes by now.innocenat ought to be getting tired of karma fortunes by now.innocenat ought to be getting tired of karma fortunes by now.innocenat ought to be getting tired of karma fortunes by now.innocenat ought to be getting tired of karma fortunes by now.innocenat ought to be getting tired of karma fortunes by now.innocenat ought to be getting tired of karma fortunes by now.innocenat ought to be getting tired of karma fortunes by now.
 
Posts: 125
Karma: 2691856
Join Date: Feb 2022
Device: PPW5, Quaderno A4, Supernote A6X, Leaf 2
Just want to note my progress in case someone stumbled upon this thread from google.

Using kfxlib from jhowell (can be found in KFX Output Plugin code), the YJ_Book class can be created easily with kpf input file. After decode_book() the ION can be accessed via book.fragments. To get the sense of what fragment is what the code in yj_*.py help a lot.

In the end I gave up. I first tried to just add new TOC item to the KPF book, but there seems to be multiple places where this need to be added. Futhermore, after a few hour playing with the structure, I still cannot figure which ION hold the "spine" of the book.
innocenat is offline   Reply With Quote