Copy link to clipboard
Copied
Hello Adobe community,
I have an urgent question and I couldn't find an answer elsewhere.
The question is about the index in AndDesign, and exactly when it is included in the epub version.
Can we convert the numbers that appear in front of the topics to another form, and at the same time keep the links working?
My friend, whose book I am working on, insists on this point a lot, and I have never read anything about this topic.
Thanks in advance for reading and for the help.
In the GREP tab of the Find/Change window,
Find what: [\s,]\s\K\d+
Change to: <Your replacement string>
Click somewhere in the index, and select Story from the Search dropdown.
Copy link to clipboard
Copied
Hi,
Can you share a screenshot of what you have at the moment?
I am not sure what you mean by the 'number in front of the topic'
An Index is a list of words you chose to include in an Alphabetical catalogue, InDesign will search these words and add to the list (index) the page number where they appear. more here Create an index in InDesign (adobe.com)
In case the number you mention is a page number, maybe you meant a Table of Content (a list of headings catalogued using the formatting you apply to text in your book and listed to reflect the page number they are located). That can be adjusted in the Style settings of the TOC. In the screenshot below, the page number is after the entry.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thank you very much, and sorry for not explaining what I meant well enough. Now this is what I'm talking about and it's shown in the picture.
Can we replace those numbers with something that performs the same role?
Copy link to clipboard
Copied
What do you have in mind that would "perform the same role" but not be page numbers?
Copy link to clipboard
Copied
Jump to an instance. In reflowable Epubs page numbers are useless.
Copy link to clipboard
Copied
The entire line should be a link in an EPUB; for that result, just define the TOC without page numbers.
However, that skips over the notion that in-page TOCs are fairly useless in ebooks anyway, since the dynamic TOC is readily available throughout the book and can be defined to more depth as well.
Copy link to clipboard
Copied
> The entire line should be a link in an EPUB
No, just the page number. You could have more than one page reference for a topic. His sample doesn't show that, but it's still possible.
Copy link to clipboard
Copied
It wasn't clear if this is an index or a TOC, but on looking closer, I guess the multiple page numbers mean 'index.'
I'm back to my original question... other than random glyphs, what would you substitute for numbers to retain the same function? It's like saying "I want a hyperlink here, but without a link."
Copy link to clipboard
Copied
Thank you very much for your interest, and thank you for this large amount of information that came in the dialogue.
It's really about index. The issue is that my friend did not like the appearance of the numbers since they do not lead to a specific page that has the same number (as we know, epub, by its nature, does not work with page numbering), so we wondered if there was a way to replace the numbers without the links losing their function after exporting.
The solution provided by Mr. Peter Karhel was effective, direct and immediate, so thank you all..
My respect..
Copy link to clipboard
Copied
Sorry, I meant by the respected professor “Peter Kahrel”.
I made a mistake in writing..
Thank you and my deep respect..
Copy link to clipboard
Copied
In the GREP tab of the Find/Change window,
Find what: [\s,]\s\K\d+
Change to: <Your replacement string>
Click somewhere in the index, and select Story from the Search dropdown.
Copy link to clipboard
Copied
Thank you very much, Professor Peter Kahrel. The problem was solved as you please, dear sir.
I was afraid that the links would not maintain their work within the index if we did this, but the replacement was completed successfully and the links after exporting to epub all work efficiently.
I convey to you greetings from my friend.
Thank you very much !
Copy link to clipboard
Copied
Hi! This is great -- with a small however that shows I am missing something.
Summary of problem: The eventual EPUB does not appear to link from the Index to the instance, and I'm not sure how to figure this out/debug. I am aware that EPUB is a set of zipped HTML docs.
Details:
So in both the Adobe EPUB previewer and in the Kindle EPUB previewer, the index links did not work. But in both PDF and in Calibre, they did.
I am puzzled why the links appear to work sometimes but not others. I am sure this is because I am missing something that I otherwise should know. The GREP works just fine... except I don't end up with an index usable in EPUB. Any advice?
Thanks as always to the community.
-j
Copy link to clipboard
Copied
See my reply to your other post.
I believe indexes are too fragile to correct with GREP or even direct editing; a close look at the IDML code might show why, but I suspect it's breaking some critical sequence in the link code.