Quick Reference Script

Taking the pain out of cross reference creation…

Quick Reference is a script created to simplify the process of creating cross references. Thanks to David Blatner on his helpful suggestions when we were creating this script. You can read more about Quick Reference on InDesign Secrets here.

Creating cross references in InDesign is a somewhat painful process. You need to find the destination, and create a destination anchor. You then need to select the source text and create the new cross reference. You can also use references to text without anchors, but that’s even more painful to create.

We created Quick Reference to make this process less painful. To use Quick Reference, you just select the source text, and Quick Reference will give you a list of potential destinations. You just select the correct one, and hit enter. Quick Reference will do the rest of the work for you.

Installation:

We are including two different files for download: a zip file of the script, and an Extension Manager “mxp” file. You can use either one to install the script. Please download one (or both) of the files from here: Extension Manager File or Zip File

Installation using Extension Manager:

Installation should be as simple as a double click on the “MXP” file.

qr_mxp

If you have CS3 installed, you might get an error when trying to open the file such as the one shown:

em_error

This is because Extension Manager (CS3) is trying to open the package and does not recognize CS4. If you get this error, you will need to install manually or to change the default application which opens the mxp file to Extension Manager CS4.

To install manually, open Extension Manager CS4 and click on the install button shown:

Extension Manager install

Once Extension Manager installs the script, you can enable and disable the script in Extension Manager:

em_screenshot

If using Extension Manager is too much trouble, you can install the script manually.

To do this, download the zip file and decompress it.

You’ll need to place the whole folder as-is in you main scripts folder:

qr_script_folder

Usage:

Using Quick Reference is easy.

  1. Select Source Text:

    qr_select_text

    Select Source Text

  2. Select Create Quick Reference:
    qr_menu
  3. Select the destination in the dialog:qr_single_doc
  4. When you have the correct destination selected, hit Create, and you’re done!

A few tips on the use of Quick Reference:

  • You must select the correct Cross Reference Format to use for your cross reference. (You can create or change them in the cross reference panel.) The selection should be the last format used in your document
  • Quick Reference will either replace the current selection with a cross reference, or append the cross reference to the end of your selection. You should select the correct radio button.
  • Quick Reference ignores trailing punctuation and spaces. If you want punctuation and/or space between the selected text and the cross reference make sure you select the trailing punctuation and/or trailing space.
  • The listing of destinations will usually be in order within the text, so the correct destination will usually be the top one on the page.
  • If the document is part o a book and the book document is open. Quick Reference will find destinations in the entire book. When this is the case, the name of the destination document will appear in the list of destinations.qr_select_target

Posted: February 24th, 2010 under Scripts.
Tags: , , , ,

Comments

Pingback from InDesignSecrets » Blog Archive » Create a Cross Reference Quickly with this Free Script
February 24, 2010 at 4:52 pm

[...] You can download the script and find complete installation instructions by visiting this page at In-Tools.com. [...]

Comment from Joerg Oyen
February 25, 2010 at 3:32 am

Wow – this is really a useful tool – saving a lot of time and concentration
thx

Comment from F vd Geest
February 25, 2010 at 7:26 am

Eh… but where is the actual link to download…??

Comment from Harbs
February 25, 2010 at 8:14 am

Right at the beginning of the installation instructions…

Here’s the links again:
here’s the Extension Manager file

here’s the zip file

Comment from Harbs
February 25, 2010 at 10:14 am

I’ve just uploaded a version 1.0.1 update which works better with numbered paragraphs. Download it from the same download locations.

Comment from F vd Geest
February 25, 2010 at 12:07 pm

Ah! There they were, the whole time ;-) Thanks!

Comment from F vd Geest
February 25, 2010 at 12:13 pm

And… error on my Dutch version of InDesign Cs4 6.04…
Won’t load… :-(

(Object error)

(I have Cross refs Pro however myself, but would be nice to show this)

Comment from Harbs
February 25, 2010 at 9:34 pm

Just uploaded version 1.0.2 which fixes a bug that shows itself when the destination is earlier in the same story. (Same download location.)

Comment from Harbs
February 28, 2010 at 7:34 pm

I’ve just uploaded version 1.0.3 which fixes the bug F vd Geest found in the Dutch localized version as well as another loading issue. Thanks a lot F vd Geest!

Comment from pachmarhi
March 1, 2010 at 12:29 pm

does this work with CS2?

Comment from Harbs
March 1, 2010 at 4:21 pm

No. It’s CS4-only (since it makes use of Cross-References introduced in CS4).

Comment from Mai
March 8, 2010 at 9:59 am

thanks a lot (Y)

Give us some feedback!