Quote:
Originally Posted by jhowell
In KFX the page number information is somewhere in between. It is a list of pointers into the content that is included within the KFX file. I would prefer to generate it as part of conversion, and will still do so as part of the KFX Output plugin, but I will also add the ability to update the page list as part of the KFX Metadata Writer since the content of custom columns is available there.
|
So, like the page list but no anchors in the book. That sounds like it could be a separate plugin, but the metadata writer is probably sensible. And both also make sense.
And what I find interesting is that it sounds like the page count doesn't have to have any real relationship to the size of the book. If it is a 100,000 word book and someone says it is 10 pages long then the page index would be built that way.
An alternative is to do the page count while doing the conversion. The Count Pages plugin does have a callback for other plugins to use it, but it runs the count in a job, so it probably isn't suitable here. But, it does have sample code for a few algorithms.