HomeLink AnnotationsAutomatically Linking Index Style Entries To Their Target Page(s)Shape Annotations
  PDFClerk Pro > Editing Pages > Dynamic Annotations > Link Annotations Index

Automatically Linking Cross-Document References To Their Target Page

You can have references to other pages that occur randomly within the text of the document, with fixed formulations, automatically linked to the page(s) they reference. To do so use the Link Cross-Document References To Target Pages menu item under the Outline And Link Automation menu item under the Tools menu.

Enter the page range(s) you would like to be analysed and linked and enter a regular expression that describes the formulations that contain references to other pages in the document. The element(s) of the formulation that indicate the page reference need to be enclosed in a capture group (= enclosed in parentheses). Additional capture groups may be used for other elements, as needed to construct an adequate regular expression.

Expressions that contain exactly two capture groups may be defined with one of the capture groups indicating the location on the target page to link to. You can specify whether the first or the last capture group indicates the location. See the first example.

When Link Whole Match is selected, the complete match is linked, rather than only the page number.

Example regular expressions:

section\s+([a-zA-Z0-9\.]+)\s+on\s+page\s+([0-9]+)

Finds occurrences like:

In addition, if Location On Target Page is set to Location First, it will link to the first occurrence of the text 5.1.4 on page 27.

on page ([0-9]+)

Finds occurrences like:

(see|on)\s+page[s]?\s+([0-9]+)\s*(,|and|through)?\s*([0-9]+)?\s*(,|and|through)? \s*([0-9]+)?\s*(,|and|through)?\s*([0-9]+)?

Finds and links occurrences like:

For more information on regular expression syntax see pages 32-37.


Copyright © SintraWorks
Last updated on June 22, 2015

HomeLink AnnotationsAutomatically Linking Index Style Entries To Their Target Page(s)Shape Annotations