I think that you misunderstand what I wrote.
Any unencrypted EPUB with embedded page number IDs can be modified to place the page number in the body text, perhaps surrounded by '[' and ']' or whatever, adjacent to the ID tag. That would do what you want without having to persuade authors of ebook rendering software to do anything.
You stand a much better chance to get help with that than getting a developer to put non trivial effort into adding an option to uglify.
I am pretty sure there are already threads that discuss details on how to procede in other threads, perhaps in the EPUB, Workshop, or Sigil forums. For all I know, it might be possible to do it with a regular expression in the sigil or calibre editor with no scripting required. (But I don't know.)
|