Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

index not generated #168

Open
gdamore opened this issue Mar 13, 2018 · 4 comments
Open

index not generated #168

gdamore opened this issue Mar 13, 2018 · 4 comments

Comments

@gdamore
Copy link
Contributor

gdamore commented Mar 13, 2018

I'm working on a quite large technical piece (the first in a series of several), and I have started adding indexterms through the document. I'd like this to be emitted in the same way the PDF version does, but it seems the epub3 backend passes through visible content, but does nothing else with the index terms, and will not generate a working index.

@gdamore
Copy link
Contributor Author

gdamore commented Mar 13, 2018

Note that a spec for epub indices exists: http://www.idpf.org/epub/idx/

@spkane
Copy link

spkane commented Dec 30, 2023

I just ran into this issue as well and was surprised to find that the epub converter did not support building an Index, and there wasn't even documentation on how to potentially append an index more manually (as a stop gap).

@slonopotamus, Do you have any thoughts about the feasibility of adding this functionality?

It does seem surprising that there is no support for Index generation via the EPUB3 generator since there is support for indexes in the epub standard.

Is the barrier primarily a matter of getting someone to do the work, or do design/technical issues make it especially difficult?

Also, is there a starting place that might provide some basic Index support that could be reached before a full implementation is achieved?

@slonopotamus
Copy link
Contributor

Hi, I don't see any difficulties here, it is just a lack of hands.

@mojavelinux
Copy link
Member

mojavelinux commented Dec 30, 2023

You might be interested to know that the basic logic has been implemented in a PR for the built-in HTML converter. You can probably use that as a starting point. See asciidoctor/asciidoctor#3160 (When I get a chance, I do plan to merge that, perhaps for 2.1.x. However, as Marat points out, it's just been a lack of time/hands to get it done there).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants