Quote:
Originally Posted by DNSB
I have one acquaintance who wants to have a mass of words in his magnum opus to be in an index with the page location of each word and the page location linked back to the word.
|
Why? What use would this be?
Indexes serve a purpose because they are human-curated. A random hodgepodge of every occurrence of a word isn't very helpful.
Quote:
Originally Posted by DNSB
He also wants this to show in an azw3/kfx Kindle format conversion.
|
Does he have a final typeset "source" PDF that he is going to use as his be-all-end-all for all things page numbers?
Quote:
Originally Posted by DNSB
where clicking on the page number e.g. 76 would move to that page in ebook
aardvark pg. 1, pg. 14, pg. 49, pg. 76
syzygy pg. 21, pg 48, pg. 103
|
If dealing with PDF, and you had a list of words, you could generate such a linked Index using LaTeX + hyperref:
Original Text:
Code:
This is an example sentence with aardvark and syzygy.
with normal index markup:
Code:
This is an example sentence with aardvark\index{aardvark} and syzygy\index{syzygy}.
or create a LaTeX macro:
Code:
\newcommand{\indexthis}[1]{#1\index{#1}}
[...]
This is an example sentence with \indexthis{aardvark} and \indexthis{syzygy}.
(More info can be found here:
https://en.wikibooks.org/wiki/LaTeX/Indexing )
Now... getting that back into EPUB would be a different problem.
Quote:
Originally Posted by DNSB
preferably with the cursor on the word aardvark.
|
lol.
Again, what is the point? At this level, you might as well be using Search, which does exactly what you want.
Trying to replicate "jumping to the exact point" would require disgusting word-level markup like Sigil's Index Tool, and even then, in 99.9% of the ereaders, it wouldn't happen like he imagines.
Side Note: And another thing, would he want all variants of "aardvark" ("aardvarks", "aardvarking") under an entry "aardvark" too? Or does he consider those all unique words/entries?
Quote:
Originally Posted by DNSB
My suggestion was that he forget the idea since a reflowable ebook does not have fixed page numbers and creating the index he wants would take an incredible amount of work for no real gain.
|
Linked Indexes in ebooks are already a hell of a lot of extra work for minimal gain (
as was just discussed a few days ago in " Create index on epub from printed book").
What he wants is off-the-deep-end absurd.
Quote:
Originally Posted by DNSB
His argument is that there must be an automated solution to doing this task pointing at AntConc 3.5.8 as an example,
|
Thanks for this. I never heard of this program before. Looks like it might be of some use.
Quote:
Originally Posted by DNSB
I'm asking for any feedback from anyone who has managed a similar task.
|
Run away now.
Maybe question this "friend's" sanity. Perhaps recommend them to a mental health specialist for wanting to unleash such horrors onto their potential readers.
Quote:
Originally Posted by DNSB
That's what I've argued. From his email this AM, he has decided to to find a "professional" who will give him what he wants and at the rather low price he wants to pay.
|

Linked Indexes are
exponentially more expensive to markup/create, and as you can read in the many Index topics... 99% of the time, even publishers don't want to spend the extra money to get them produced.