Cross-reference building blocks, Creating cross-references to partial paragraphs – Adobe InCopy CC 2015 User Manual
Page 187

184
Text
Last updated 6/13/2015
Cross-reference building blocks
Creating cross-references to partial paragraphs
You can design cross-reference formats to include only the first part of a paragraph. For example, if you have headings
in your document that look like, “Chapter 7—Granada to Barcelona,” you can create a cross-reference that refers only
to “Chapter 7.”
Building block
What it does
Example
Page Number
Inserts the page number.
on page <pageNum/>
on page 23
Paragraph Number
Inserts the paragraph number in a cross-
reference to a numbered list.
See <paraNum/>
See 1
In this example, only “1” is used from the
paragraph, “1. Animals.”
Paragraph Text
Inserts the paragraph text without the
paragraph number in a cross-reference to a
numbered list.
See “<paraText/>”
See “Animals”
In this example, only “Animals” is used from
the paragraph, “1. Animals.”
Full Paragraph
Inserts the entire paragraph, including
paragraph number and paragraph text.
See “<fullPara/>”
See “1. Animals”
Partial Paragraph
Lets you create a cross-reference to the first
part of a paragraph, up to the specified
delimiter, such as a colon or em dash.
See <fullPara delim=”:”
includeDelim=”false”/>
See Chapter 7
In this example, only “Chapter 7” is used from
the title “Chapter 7: Dogs and Cats.”
Specify the delimiter (such as : in this
example), and indicate whether the delimiter
is excluded (“false” or “0”) or included (“true”
or “1”) in the source cross-reference.
Creating cross-references to partial
Text Anchor Name
Inserts the text anchor name. You can create
text anchors by choosing New Hyperlink
Destination from the Hyperlinks panel menu.
See <txtAnchrName/>
See Figure 1
Chapter Number
Inserts the chapter number.
in chapter <chapNum/>
in chapter 3
File Name
Inserts the filename of the destination
document.
in <fileName/>
in newsletter.indd
Character Style
Applies a character style to text within a cross-
reference.
See <cs name=”bold”><fullPara/></cs> on
page <pageNum>
See Animals on page 23.
Specify the character style name, and include
the text you want to apply the character style
to between the <cs name=””> and </cs> tags.