Quote:
Originally Posted by 1v4n0
wonder if there is a way to render the index (analytical index, not the table of contents) from a printed book without having to manually insert all the entries [...] maybe there is a quicker way to do it? Anyone knows a better solution?
|
You could use Finereader and insert a rarely used character at the beginning of each page, like the ¤ CURRENCY SIGN (U+00A4).
When you make it to EPUB, Search&Replace ¤ with a <span>:
Code:
<span class="pagebreak"></span>
then use
Doitsu's "Incremental IDs" plugin to help generate all the page anchors:
Before:
Code:
<span class="pagebreak"></span>
<span class="pagebreak"></span>
<span class="pagebreak"></span>
[...]
After (EPUB3):
Code:
<span epub:type="pagebreak" id="page1" title="1"/>
<span epub:type="pagebreak" id="page2" title="2"/>
<span epub:type="pagebreak" id="page3" title="3"/>
[...]
Quote:
Originally Posted by 1v4n0
This solution, though, has at least one big problem: it only works on books whose page numbers are displayed at the top of the page (because the anchor needs to be before the page it refers to, and not after).
|
I don't see why this would change much. Page 2's footer can become page 3's "header".
To do this, use Regex to set the page numbers apart, then Doitsu's plugin to renumber everything.
Page Numbers (Bottom):
then just tell incremental IDs to start from 1 higher:
After:
Quote:
Originally Posted by 1v4n0
[...] use as anchors to which to link the page numbers in the index (all doable with some regex wisdom).
|
Another potential pain point could be page ranges. Depending on what Style Guides the book follows, they may be condensed from 3 characters down to 1 or 2:
Code:
381–385
381–85
381–5
Regex alone wouldn't be able to figure out "85" or "5" actually means "385". (This is a VERY COMMON error I find in linked Indexes.)
And another style where I typically see errors:
It
should be linked directly to the footnote page 385... but many times, they just take the easy way out and link to page 385.
Quote:
Originally Posted by phillipgessert
Seems like one problem with your idea is that even if it worked, it would only tell the reader that the topic they're seeking exists somewhere between that anchor and the end of the book.
|
Indexes, "Real Page Numbers" (RPNs), and all their pros/cons have been discussed to death by both me and Hitch over the years.
For all the info you'll ever need, see my posts in:
Help ;with Kindle Page Numbers
Fractional Page Numbering
(And the entire pyramid of linked threads.)