LiveTOC




LiveTOC

New! Version 1.8.0 – lots of new features!

Works with: InDesign CS5, CS5.5, CS6 and CC (Creative Cloud) on Windows and Mac computers.

LiveTOC does two main things:

  • Makes the numbers in your table of contents (TOC) update automatically if pages are added, removed, or edits are made – without losing special formatting.
  • Turns each TOC entry into a hyperlink, for EPUB or PDF export. (For those who like to have a TOC inside the EPUB, apart from the links in the EPUB reader’s navigation pane.)

Important: LiveTOC works completely independently of InDesign’s Table of Contents feature. You can use InDesign’s feature to generate your TOC, or you can type it out by hand – it makes no difference to LiveTOC.

You can download a demo version of this script here. It will create up to 5 links per document.

A single license for this script is available at $49 USD. For multiple licenses, please contact us to arrange a discount.

Video Tutorial

How to Use

Here’s a screenshot showing the options:

LiveTOC screen capture

To access the settings screen: Deselect everything (Edit>Deselect All) and double click on the script in the scripts palette.

To run: Select the text in your table of contents, and double click the script in the scripts palette. The page numbers will be turned into InDesign cross-references, so they will update automatically. And the chapter names in the TOC will be turned into hyperlinks for EPUB export (if this option is selected).

Understanding the Options in the Preferences Panel

Paragraph Styles section: choose all the paragraph styles that are used for chapter headings throughout your document. For example, you may have one style for regular chapter headings, and another style for end-matter headings (such as an Index or Appendix).

Scope section: If your entire document consists of a single InDesign file, choose “search this document only”. But if your entire document consists of several InDesign files (which may all be part of an InDesign book), open all documents and choose the “Search all open documents” option.

Live Page Number Location section: Here you tell the script which part of each TOC entry is the page number. Normally, this would be the numbers at the end of each TOC entry (first choice). But sometimes, depending on the design, the numbers might be elsewhere. In that case, the script will look for three zeros (000) that you have placed manually anywhere within each TOC entry, and replace them with the live page number (second option).

Location of Chapter Names section: Here you tell the script what part of the TOC entry consists of the chapter name. Normally it will be from the beginning of the line until the first tab character. Some other options are available in the dropdown.

Note that the name of the chapter as it appears in the TOC must be identical to the name of the chapter as it appears in the document, including spaces and punctuation. Otherwise, the script will not be able to link up the TOC entry with its appropriate chapter heading.

Create Hyperlinks checkbox: Select this if you want the chapter names in the TOC to be turned into hyperlinks

Display Error Messages checkbox: Select this if you want to read any messages as they occur. Typical error messages are: (1) the script is not able to find an exact match between the chapter name as it appears in the TOC and as it appears in the document; (2) the same chapter name appears twice in the document; (3) the script is unable to figure out where to place the live page number.

Demo

You can download a demo version of this script here. It will create up to 5 links per document.

Purchase

A single license for this script is available at $49 USD. For multiple licenses, please contact us to arrange a discount.

The terms of the license permit the installation of the script on a single user’s computer. The script is copyright. It is illegal to make unauthorised copies of the script.

To purchase the full version for only $49, click the “Buy Now” button, or email us. Your will receive your full, unlocked script normally within one working day.

For just $49, this script is an amazing timesaver for anyone working on long documents in InDesign.




4 thoughts on “LiveTOC

  1. Hello, I just installed your Live TOC script trial and it does not appear to work in InDesign cc. Is this script compatible with CC? How about CS6? I don’t want to purchase unless I know it will work for me. I am on Mac OS 10.7, using InDesign CC (I do have CS6 as well)
    Thanks
    Helen

  2. Hi Helen,

    I just tested, and I can confirm that it does indeed work with InDesign CC (including the latest update), as well as CS6.

    Thanks,
    Ariel

  3. Hi,
    LiveToc is very interesting but before think about buying I have a question about “Scope section”.
    My books are composed of nearly a hundred indd files (sometimes more) with an average size of 20Mb each (some go up to 50Mb).
    You say to open all the documents before the use of the script, but in my case is impossible to open them all at the same time. Not possible to avoid it?
    The ideal would be that the script could open automatically, in sequence and without windows, the various documents.
    Thanks

  4. Hi Alessio,

    If the documents are not open, then for each line in the TOC, LiveTOC would need to open each document in turn and search it. Opening 100 × 20MB for each line of the TOC would take forever! If the files are open already, though, it’s much much quicker.

    So this is a problem.

    The question is, is the TOC divided into sections at all? That is, perhaps it is possible to open all the files belonging to Part 1 of the book (say just 10 or 20 files), select that part of the TOC which refers to those files, run LiveTOC, and then continue in turn for the rest of the TOC? That might be one way of making it work.

    (By the way, we’ve moved our scripts over to Id-Extras.com, a site dedicated to scripting. The latest demos, etc., are all there, so perhaps it’s better to continue this conversation over there: http://www.id-extras.com/products/livetoc)

Leave a Reply

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