Please support us!

Cross-references

Inserts cross-references or referenced fields into the current document. Cross-references points to targets within the same document or within sub-documents of a master document.

The advantage of entering a cross-reference as a field is that eliminates manual adjustment of the references every time the document changes. Update the fields with F9 and the references in the document are updated automatically.

To access this command...

From the menu bar:

Choose Insert - Field - More Fields - Cross-references tab

Choose Insert - Cross-reference

From the tabbed interface:

Choose Insert - Cross-reference.

Choose References - Cross-reference.

From toolbars:

Icon Insert Cross-reference

Insert Cross-reference

From the keyboard:

+ F2


Inserting Cross-References

Type

Lists the available field types. To add a field to the document, choose an item in the Type list, choose a field in the Selection list (if available), choose a format in the Refer using list (if available) and then click Insert. The following fields are available:

Type

Meaning

Set Reference

Sets a target for a referenced field. Under Name, enter a name for the reference. When inserting the reference, this name appears as an identifier in the Selection list.

In an HTML document, reference fields entered this way will be ignored. For the target in HTML documents, you have to insert a bookmark.

Insert Reference

Inserting a reference to another position in the document. The target position has to be defined with Set Reference first. Otherwise, the field name cannot be selected under Selection.

In master documents, references can also point from one sub-document to another. In this case the reference name will not appear in the Selection list and has to be entered manually in Name.

In an HTML document, reference fields entered this way will be ignored. For referenced fields in HTML documents, you have to insert a hyperlink.

Headings

The Selection list shows all headings in the order of their appearance in the document.

Numbered Paragraphs

The Selection list shows all ordered paragraphs in the order of their appearance in the document. The list includes:

  • paragraphs with a paragraph style assigned a numbering scheme in the Tools > Heading Numbering dialog

  • ordered list paragraphs, formatted with the Formatting toolbar or Bullets and Numbering dialog

  • paragraphs formatted with a numbered list style

  • paragraphs formatted with a paragraph style with a numbered list style applied in the Outline & List tab.

Bookmarks

After a bookmark is inserted in the document with Insert - Bookmark, the bookmarks entry on the Cross-references tab becomes usable. Bookmarks are used to mark certain text passages in a document, for example to jump from one passage to another.

In an HTML document, these bookmarks become anchors <A name>, which determine the target of hyperlinks for example.

Styles

Lists the paragraph styles applied in the document in the Selection list. Select a style to cross-reference paragraphs formatted with that style.


Tip Icon

References are fields. To remove a reference, delete the field. If you set longer text as a reference and do not want to re-enter it after deleting the reference, select the text and copy it to the clipboard. You can then reinsert it as unformatted text at the same position using the command Edit - Paste special. The text remains intact while the reference is deleted.


Selection

Lists the available fields for the field type selected in the Type list. To insert a field, select an entry in this list, choose a format in the Refer using list, and click Insert.

Tip Icon

To quickly insert a field from the list, hold down and double-click the field.


Refer using

Select the format to use for the selected reference field. The following formats are available:

Format

Meaning

Page number (unstyled)

Inserts the number of the page containing the reference target.

Chapter

Inserts the heading number or list number of the reference target.

Referenced text

Inserts the complete reference target text. For footnotes the footnote number is inserted. For captions the complete caption (category, number and text) is inserted.

“Above”/“Below”

Inserts "above" or "below", depending on the location of the reference target relative to the position of the reference field.

Page number (styled)

Inserts the number of the page containing the reference target using the format specified in the page style.

Number

Inserts the number of the heading or numbered paragraph, including superior levels depending on the context. See note below this table for more information.

Number (no context)

Inserts only the number of the heading or numbered paragraph.

Number (full context)

Inserts the number of the heading or numbered paragraph, including all superior levels.

Category and Number

Inserts the caption category and caption number (or number range variable name and value). Any text between the category and number (or variable name and value) is also inserted.

This option is available for all number range variables, including caption numbers.

Caption Text

Inserts all text that follows the caption category and caption number until end of paragraph.

This option is available for all number range variables, including caption numbers.

Number

Inserts the caption number (or number range value).

This option is available for all number range variables, including caption numbers.


Note Icon

For “Chapter”, “Number”, “Number (no context)”, and “Number (full context)” formats, the number of sublevels shown for the selected format depends on the Show sublevels setting for the relevant outline levels in Tools - Heading Numbering.


Name

Type the name of the user-defined field to create. To set a target, select Set Reference in the Type list, type a name in this box, and click Insert. To reference the new target, select the target name in the Selection list.

In a master document, targets that are in different sub-documents are not displayed in the Selection list. To insert a reference to such a target, you must type the path and the name in the Name box.

Value

Enter the contents to add to a user-defined field.

If text is selected in the document before inserting a reference, the selected text becomes the contents of the inserted field.