Create Cross-Reference Links

Overview

Create Cross-Reference Links scans the document for specified source text and creates link annotations that point to matching destination text elsewhere in the PDF. You can queue multiple source/destination pairs and process them all in one operation.

Video: Create Cross-Reference Links shown step by step, with narration.
The Create Cross-Reference Links dialog
The Create Cross-Reference Links dialog.

How to use

  1. Open the PDF in which you want to create cross-reference links.
  2. Go to Plug-Ins > Links > Create Cross-Reference Links.
  3. Enter a Source text (the text to find and turn into a link) and a Destination text (the text the link should point to).
  4. Click Add Pair to add the source/destination pair to the queue. Repeat to add additional pairs.
  5. Click OK to create all cross-reference links.

Dialog elements

ElementDescription
Source The text to search for in the document. Every occurrence of this text will become a link to the destination.
Destination The text that the created links should point to. The first occurrence of this text in the document, outside the source matches, is used as the link target.
Add Pair Adds the current source/destination pair to the list and clears the input fields so you can enter another pair. Both fields must be filled in before adding.
Pair list Displays all queued source/destination pairs in the format Source: ... -> Destination: ....
Remove Selected Removes the currently selected pair from the list. You will be prompted if no pair is selected.
Match text case Only match text when the letter case is identical to the pair's text.
Match whole words only Prevents partial matches inside longer words.
Configurations Save the current pair list and options under a name, reload them later, or delete a saved configuration. To rename a saved configuration, choose it from the list, type the new name over it and click Rename.

How targets are chosen

Each destination text resolves to its first occurrence in page order that is not part of a source match. For example, with the pair "see Appendix A" → "Appendix A", the words "Appendix A" inside each "see Appendix A" citation are skipped, so the links point at the appendix heading rather than at the first citation. Choose destination text that is unique to the target location — a heading works well. (When the source and destination texts are identical, nothing can be skipped, and the first occurrence is used.)

Occurrences on a page that looks like a table of contents (“Contents” near the top, or several dot leaders), and occurrences in the top or bottom 7% of a page (running headers and footers), are passed over in favour of a later occurrence in the body text; they are used only when nothing else exists. The destination occurrence itself is never given a link to itself. The dialog remembers the pairs and options you last used.

When the destination text cannot be found anywhere outside the citations, those citations get no link. A summary at the end of the run reports how many links were created and how many references were left unlinked for that reason.

Tip

Queue all your cross-reference pairs before clicking OK; they are all processed in one run. The list is shown in alphabetical order, which does not affect the links created.

Note

Both the source and destination fields must contain text before a pair can be added. The dialog does not close when you click Add Pair — it stays open so you can continue adding pairs. If you press OK with text still typed in the Source and Destination fields, the dialog offers to add that pair for you; OK with an empty pair list keeps the dialog open.

See also