Cross-reference formats are associated with cross-reference links to different types of text formats in your document. As a convention, the name of any cross-reference format should end in Xref.
The following cross-reference formats are defined in subformat configuration files:
These are the default cross-reference formats. You can add other cross-reference formats of your own, and you can change the default names. However, if you change a default name, you must change it in every place that name is referenced; notably in general configuration section [ElementOptions]; see §6.3.3 Mapping cross-reference outputclass attributes to formats.
You define properties of cross-reference formats by assigning building blocks to form, the sole cross-reference format property:
[TypeOfXref] form = <building-block1> <building-block2> ...
Table 8-5 lists the building blocks you can assign to property form to define a cross-reference format. Table 8-6 shows the default values for the form property that are assigned to the default cross-reference format names.
<paratext/> |
|
<autonum/> |
Entire autonumber of the referenced item, except for any tabs |
<numonly/> |
Just the number part of the autonumber, without anything before the first counter or after the last counter |
<tab/> |
(RTF only) Each tab advances by the amount in [WordOptions]AnumTabWidth (see §15.3.3 Converting autonumbered formats) |
<format> |
Character format, reset at the end of the cross reference, or earlier by a </format>; typographic element names valid; any character format in the referenced autonumber format is dropped Note: if the format is for footnote references, do not close it, or the tag will be ignored |
<u+NNNN/> |
Unicode character, where NNNN is the hexadecimal code point, as in <u+2020/> for a dagger |
<spc/> |
|
<page/> |
|
<tag/> |
You can use character format tags and typographic tags around the format definitions; however, do not use tags that have the same names as building blocks: paratext, autonum, numonly, or tab. See §8.1.5 Including typographic tags and character formats.
Note: Do not try to assign more than one <format> tag to a cross-reference subformat.
Some default cross-reference formats are defined as follows:
[TitleXref] form = <autonum/> <paratext/>
[NumXref] form = <autonum/>
[FtnXref] form = <sup><numonly/>
[TextXref] form = <paratext/>
To apply these cross-reference formats to the paragraph formats they reference (see §7.6.5 Specifying block properties for paragraph formats):
[Heading1] number = Head1Num xref = TitleXref
[NumberedFirst] number = ListFirstNum xref = NumXref
[Numbered] number = ListNum xref = NumXref
[Footnote] number = FootnoteNum xref = FtnXref
The default cross-reference format names listed in Table 8-6 are used only when no cross-reference format name is specified in the xref element outputclass attribute.