View Single Post
Old 02-04-2021, 02:02 PM   #1001
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,111
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by kindleSeltzer View Post
Will send you a PM, thanks!
Thanks for providing those files. From them I was able to determine the cause of the problem in creating page numbers.

It turns out that the algorithm I was using fails badly if a book contains paragraphs that a longer than one page. One of your sample books actually has very long paragraphs. I suppose that is just the writer's style. The other looks like it has normal sized paragraphs, but the HTML is actually coded with line breaks and indentation to make it appear as if there are separate paragraphs when in fact there are actually only a few very large paragraphs.

I will rework the page number algorithm to handle these cases and release a new version of this plugin. I expect it to be ready sometime next week.

Thanks again.
jhowell is offline   Reply With Quote