You can change the style format used for cross-references. For example, instead of "See My Topic," you might want cross-references to display "For more information see My Topic."
You can edit cross-reference style formats at the point where a cross-reference is inserted
In the Cross-Reference Properties section, select the MadCap:xref style that you want to edit.
<MadCap:xref> is the parent tag and default selection
Click Edit. The Edit Cross-Reference Style Class dialog opens.
| Command | Description |
|---|---|
b | Start bold text |
/b | End bold text |
bg | Start new background color |
/bg | End background color |
color | Start new text color |
/color | End text color |
default | Reset all font changes |
ext | File extension |
family | Start new font family |
/family | End font family |
file | File name, including extension |
filename | File name, without extension |
h1 | Text of first heading 1 paragraph |
h2 | Text of first heading 2 paragraph |
h3 | Text of first heading 3 paragraph |
h4 | Text of first heading 4 paragraph |
h5 | Text of first heading 5 paragraph |
h6 | Text of first heading 6 paragraph |
i | Start italic text |
/i | End italic text |
page | Page number |
pagecount | Page count |
pageref | Context-sensitive page reference |
paranum | The auto-number text of bookmarked paragraph. |
paranumonly | The auto-number only of bookmarked paragraph |
paratext | Text of bookmarked paragraph |
paraxml | Text and markup of bookmarked paragraph |
path | File path |
size | Start new font size |
/size | End font size |
sub | Start subscript text |
/sub | End subscript text |
sup | Start superscript text |
/sup | End superscript text |
title | Title of document |
u | Start underlined text |
/u | End underlined text |
url | File path, URL syntax |
example
If you want the cross-reference to include text (such as "For more information see"), simply type it in this field. You can also double-click any of the commands to add them to this field. For example, you might want to add the text of the first paragraph in the destination file to the cross-reference format. The command for this is {paratext}. Descriptions for each command are displayed in the list.
Some commands include a start tag and an end tag. For example, if you want a portion of the cross-reference to be displayed in bold, you would place your cursor in the "Enter format" field where want to start the bold font and double-click b in the list below. Then place your cursor where you want the bold font to end and double-click /b from the list.
So in the end, your cross-reference format might include a combination of text and multiple commands, such as:
For more information see {b}{paratext}{/b}
A format such as this one might display a link in the output like this:
For more information see My Destination Topic
For additional information and examples, see About Cross-References.
Note:
Press CTRL+S or click
to save your work.
Complete one of the following sets of steps, depending on whether you want to use the Simplified view or Advanced view in the Stylesheet Editor.
Warning: When editing styles, make sure the proper medium is selected in the Stylesheet Editor before you begin (you can do this from the Medium drop-down list). Flare remembers the last medium that you used when working in the style sheet, so it may or may not be the one that you want to use the next time around. If you want all mediums to use the same setting, select the "default" medium and the properties will "trickle down" to the other mediums. If you are not using different mediums, you do not need to worry about selecting one when you edit styles.
If using the Simplified view:
(which means that the Simplified view is currently shown in the editor). If the button displays
instead, then click it.
and select Show Link Styles.
. The Properties dialog opens.In the Enter format field, provide the format for the class. This format can be a combination of text that you type and automated commands that you select. You can select commands from the list by double-clicking them. They are then added to the "Enter format" field.
| Command | Description |
|---|---|
|
b |
Start bold text |
|
/b |
End bold text |
|
bg |
Start new background color |
|
/bg |
End background color |
|
color |
Start new text color |
|
/color |
End text color |
|
default |
Reset all font changes |
|
ext |
File extension |
|
family |
Start new font family |
|
/family |
End font family |
|
file |
File name, including extension |
|
filename |
File name, without extension |
|
h1 |
Text of first heading 1 paragraph |
|
h2 |
Text of first heading 2 paragraph |
|
h3 |
Text of first heading 3 paragraph |
|
h4 |
Text of first heading 4 paragraph |
|
h5 |
Text of first heading 5 paragraph |
|
h6 |
Text of first heading 6 paragraph |
|
i |
Start italic text |
|
/i |
End italic text |
|
page |
Page number |
|
pagecount |
Page count |
|
pageref |
Context-sensitive page reference |
|
paranum |
The auto-number text of bookmarked paragraph. |
|
paranumonly |
The auto-number only of bookmarked paragraph |
|
paratext |
Text of bookmarked paragraph |
|
paraxml |
Text and markup of bookmarked paragraph |
|
path |
File path |
|
size |
Start new font size |
|
/size |
End font size |
|
sub |
Start subscript text |
|
/sub |
End subscript text |
|
sup |
Start superscript text |
|
/sup |
End superscript text |
|
title |
Title of document |
|
u |
Start underlined text |
|
/u |
End underlined text |
|
url |
File path, URL syntax |
example
If you want the cross-reference to include text (such as "For more information see"), simply type it in this field. You can also double-click any of the commands to add them to this field. For example, you might want to add the text of the first paragraph in the destination file to the cross-reference format. The command for this is {paratext}. Descriptions for each command are displayed in the list.
Some commands include a start tag and an end tag. For example, if you want a portion of the cross-reference to be displayed in bold, you would place your cursor in the "Enter format" field where want to start the bold font and double-click b in the list below. Then place your cursor where you want the bold font to end and double-click /b from the list.
So in the end, your cross-reference format might include a combination of text and multiple commands, such as:
For more information see {b}{paratext}{/b}
A format such as this one might display a link in the output like this:
For more information see My Destination Topic
For additional information and examples, see About Cross-References.
Note:
If using the Advanced view:
(which means that the Advanced view is currently shown in the editor). If the button displays
instead, then click it.
and select Show Link Styles.
on the upper-right side of the editor, select Show: Assorted Relevant Properties. The most relevant properties for that style are shown on the right side of the editor.In the Enter format field, provide the format for the class. This can be a combination of text that you type and automated commands that you select. You can select commands from the list by double-clicking them, adding them to the "Enter format" field.
| Command | Description |
|---|---|
|
b |
Start bold text |
|
/b |
End bold text |
|
bg |
Start new background color |
|
/bg |
End background color |
|
color |
Start new text color |
|
/color |
End text color |
|
default |
Reset all font changes |
|
ext |
File extension |
|
family |
Start new font family |
|
/family |
End font family |
|
file |
File name, including extension |
|
filename |
File name, without extension |
|
h1 |
Text of first heading 1 paragraph |
|
h2 |
Text of first heading 2 paragraph |
|
h3 |
Text of first heading 3 paragraph |
|
h4 |
Text of first heading 4 paragraph |
|
h5 |
Text of first heading 5 paragraph |
|
h6 |
Text of first heading 6 paragraph |
|
i |
Start italic text |
|
/i |
End italic text |
|
page |
Page number |
|
pagecount |
Page count |
|
pageref |
Context-sensitive page reference |
|
paranum |
The auto-number text of bookmarked paragraph. |
|
paranumonly |
The auto-number only of bookmarked paragraph |
|
paratext |
Text of bookmarked paragraph |
|
paraxml |
Text and markup of bookmarked paragraph |
|
path |
File path |
|
size |
Start new font size |
|
/size |
End font size |
|
sub |
Start subscript text |
|
/sub |
End subscript text |
|
sup |
Start superscript text |
|
/sup |
End superscript text |
|
title |
Title of document |
|
u |
Start underlined text |
|
/u |
End underlined text |
|
url |
File path, URL syntax |
example
If you want the cross-reference to include text (such as "For more information see"), simply type it in this field. You can also double-click any of the commands to add them to this field. For example, you might want to add the text of the first paragraph in the destination file to the cross-reference format. The command for this is {paratext}. Descriptions for each command are displayed in the list.
Some commands include a start tag and an end tag. For example, if you want a portion of the cross-reference to be displayed in bold, you would place your cursor in the "Enter format" field where want to start the bold font and double-click b in the list below. Then place your cursor where you want the bold font to end and double-click /b from the list.
So in the end, your cross-reference format might include a combination of text and multiple commands, such as:
For more information see {b}{paratext}{/b}
A format such as this one might display a link in the output like this:
For more information see My Destination Topic
For additional information and examples, see About Cross-References.
Note:
to save your work.
|
Downloads (PDF Format): Flare Transition From RoboHelp Guide |
MadCap Software, Inc. 7777 Fay Avenue La Jolla, California 92037 Tollfree 1-888-MadCap1 Tel 858-320-0387 Fax 858-320-0338
For technical support: |
How to edit a cross-reference style format at the point of insertion
See Also