It was suggested to me privately that Doitsu's pagelist sigil plugin,
https://www.mobileread.com/forums/sh...d.php?t=265237, might be useful in repairing books with page number problems.
I tried it on
Bad Blood: Secrets and Lies in a Silicon Valley Startup, which uses code like
Code:
<span id="page_3" epub:type="pagebreak" title="3"></span>
for pages and that worked.
Unfortunately,
A Brief History of Everyone Who Ever Lived uses
Code:
<a id="page_1"></a>
and
Utopia for Realists uses
Code:
<a id="page-1"></a>
and the pagelist plugin does not work for either.
When compatible page number markup was used in the ebook production, the sigil pagelist plugin significantly simplifies apnx repair workflow to kindleunpack -> sigil pagelist -> kindlegen -> kindleupack (note that all that is required from all this is the replacement apnx file that can be copied to the sdr directory on the kindle, the original azw3 file does not need to be changed).