New Create Index for ePub Script

 

Ben Milander has released a new Javascript called Create Index for ePub that will help you create a clickable index for EPUB files. Given the difficulty of creating a linked index when exporting from InDesign, this script may be valuable to many.

Here are the details from the purchase/download page:

This is a sophisticated script which creates a clickable index when exported to ePub.  The trial version is free to download and is fully function for a single document with index.

Features:

  1. Works equally well with either an index generated by the InDesign index tool or a third party tool.
  2. Works with a single document containing multiple stories and an index or with an InDesign Book file containing multiple documents. Book Function not available in trial version.
  3. Transparent for export to PDF.  Export to PDF or to Epub or to both.

Requirements:

  1. The index must contain a title with a unique paragraph style assigned to it. The index must be a single story. The document containing the index must be open and active when starting the script.
  2. Page numbers in the index must have a unique character style assigned to them.
  3. Must start the script with the document containing the index open and the current document.

The script costs $50, which seems a bit steep (unless you have had to add all the links to an index manually), but if the script saves you an hour preparing an EPUB index, it probably pays for itself. You can download a free trial version if you want to try it, though the trial will only work with a single document, not with an InDesign Book file containing multiple documents.

I have not tested the script yet, but plan to in the near future and will report results.

What do you think of this script? Have you downloaded it and tried it? Will you use it again?

7 thoughts on “New Create Index for ePub Script

  1. What sounds good to me is the part that says, this script adds page anchors to every page before exporting to EPUB. That’s a thing I’ve always wanted – and that’s more than writer2epub does, isn’t it?

  2. Tested free-trial version of this script in IDC5.5. I used a single ID document with an index built from a text document (ie. the index was not generated by ID).

    Happy to report the export to epub worked well, aside from one rather troublesome issue: for multi-page index entries, such as 156—59, the index will link to page 156 and page 59 (not page 159 and 159). Which meant manually editing hundreds of these entries down to, eg: 156.

    If someone could devise a useful GREP that would remove all page numbers following an en dash (stopping at either coma or a para break), this would be really useful.

    Thanks for sharing the script, pub indexes have long been a problem for me, this is a big step in the right direction.

  3. Hi,
    I am trying to fetch the data from online using ajax in epub.I tried as much as possible i couldn’t able to solve it. if any one found the solution pls share it.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>