Well, the character count is very specific, and quite useless for me (i don't know how many characters are shown on the last page).
epub cfi is useable, but too complex, and doesn't answer my usecase (i don't know if the position is near enough the end to be the same [last] page).
I just wanted to know if i'm at the start of a chapter, in the middle or at the end. In both cases, i can detect the start, but not distinguish middle from end.
I ended up just assuming not start = end, so i update the chapter as read.
converting between the 2... i'ld need to parse the whole epub (and not just the position sync file), read the position, count the characters [cf previous post] in the chapter before the position, then update the .po file.
it *CAN* be done, but not just from the position sync file.
|