After you create condition tags, you can apply them to the appropriate content in your project.
example
You might have one condition tag for a beginner's version of a manual called "Beginner DoohickeyPro" and another condition tag for an advanced version of the manual called "Advanced DoohickeyPro." If you have a sentence in a topic that pertains only to the beginner's version, you would select that sentence and apply the "Beginner DoohickeyPro" tag to it. You might have another sentence in the same topic that pertains only to the advanced version of your manual, so you would apply the "Advanced DoohickeyPro" tag to it.
You can apply condition tags to many different elements
Select Format>Conditions. The Condition Tags dialog opens, with the first condition tag set selected and the associated condition tags shown on the right.
For each condition tag that you want to apply to the text, click the check box next to the tag. A check mark appears in the box.
There are a couple of ways to tell whether a selection of text has one or more condition tags applied to it. In the bottom local toolbar of the XML Editor, click either of the following two toggle buttons to turn the tag indicators on and off.
|
|
Click this button at the bottom of the XML Editor to show or hide shading of the text itself. For example, if your condition tag has blue associated with it and you click this button to show the indicator, the text becomes shaded with a lighter version of blue. If more than one condition tag is applied to the text, the shading appears in a pattern that shows all of the applied condition tag colors.
|
|
Click this button at the bottom of the XML Editor to show or hide the span bar above the topic. When the cursor is on the text containing the applied tag, the span bar is shaded with a lighter version of the tag color. This is a good feature to use if you find the shading of the actual text distracting.
|
to save your work.Topics usually contain several blocks of XML content. For example, there are HTML blocks, body blocks, paragraph blocks, table blocks, and heading blocks. You can apply a condition tag to any block of content in your topics.
at the bottom of the local toolbar to show them. Hover over the tag bar for the block of content to which you want to apply the condition tag. When the cursor displays as a hand
, click the tag bar.
For each condition tag that you want to apply to the block of content, click the check box next to the tag.
A check mark appears in the box.
There are two ways to tell whether a block of content has one or more condition tags applied to it. In the bottom local toolbar of the XML Editor, click either of the following two toggle buttons to turn the tag indicators on and off:
|
|
Click this button at the bottom of the XML Editor to show or hide shading of the block of content itself. For example, if your condition tag has blue associated with it and you click this button to show the indicator, the block of content becomes shaded with a lighter version of blue. If more than one condition tag is applied to the block of content, the shading appears in a pattern that shows all of the applied condition tag colors.
|
|
Click this button at the bottom of the XML Editor to show or hide the tag block bar to the left of the topic. When the cursor is on the block of content containing the applied tag, the tag bar is shaded with a lighter version of the tag color. This is a good feature to use if you find the shading of the actual content distracting.
|
to save your work.You can include or exclude entire files from a target. This includes any file contained in the Content Explorer, such as topic, image, style sheet, snippet, and page layout files. You can apply condition tags to one file at a time or to multiple files at once.
To apply condition tags to one file at a time:
In the local toolbar, click
. The Properties dialog for the file opens.
Click the Conditional Text tab. The first condition tag set is selected and the associated condition tags are shown on the right.
For each condition tag that you want to apply to the file, click the check box next to the tag. A check mark appears in the box.
Click OK. The square next to the file name in the Content Explorer now takes on the color of the condition tag. If you applied more than one condition tag to the file, each color is shown. (If you do not see squares, click
in the local toolbar.)
To apply condition tags to multiple files at once using the File List window pane:
Select the files to which you want to apply condition tags. Hold down the SHIFT key and click a range of files, or hold down the CTRL key and click individual files.
In the local toolbar, click
. The Properties dialog opens.
Click the Conditional Text tab. The first condition tag set is selected and the associated condition tags are shown on the right.
For each condition tag that you want to apply to the files, click the check box next to the tag. A check mark appears in the box.
Click OK. The squares next to the file names in the File List window pane now take on the color of the condition tag. If you applied more than one condition tag to the file, each color is shown.
To apply condition tags to multiple files at once using the Split View feature:
In the Content Explorer, click the Show Files button
.
The Content Explorer splits into two halves (left and right).
On the right side of the split Content Explorer, select the files. Hold down the SHIFT key and click a range of files, or hold down the CTRL key and click individual files.
In the local toolbar, click
.
The Properties dialog opens.
Click the Conditional Text tab.
The first condition tag set is selected and the associated condition tags are shown on the right.
For each condition tag that you want to apply to the files, click the check box next to the tag.
A check mark appears in the box.
Click OK.
The square next to the file name in the Content Explorer now takes on the color of the condition tag. If you applied more than one condition tag to the file, each color is shown in the square. (If you do not see squares, click
in the local toolbar.)
again.
to save your work.Note: Notice that the Resources and other subfolders also have blank squares next to them. This means that you can apply condition tags to everything contained in any folder by following the same steps above.
Note: If you cannot see the bookmark, make sure the markers are shown in the topic. To do this, click the Show tags drop-down arrow
and select Show Markers.
In the popup menu, select Conditions.
The Condition Tags dialog opens, with the first condition tag set selected and the associated condition tags shown on the right.
For each condition tag that you want to apply to the bookmark, click the check box next to the tag.
A check mark appears in the box.
Click OK.
A square with the color of the condition tag is displayed next to the bookmark.
to save your work.You can include or exclude a specific browse sequence entry (book, topic, external link) from a target.
Double-click the browse sequence that you want to open.
The Browse Sequence Editor opens to the right.
In the local toolbar, click
.
The Properties dialog for the browse sequence entry opens.
Click the Conditional Text tab.
The first condition tag set is selected and the associated condition tags are shown on the right.
For each condition tag that you want to apply to the browse sequence entry, click the blank square next to the tag.
A check mark appears in the square.
Click OK.
The square next to the browse sequence entry in the Browse Sequence Editor now takes on the color of the condition tag. If you applied more than one condition tag to the browse sequence entry, each color is shown in the square.
If you cannot see the squares next to the browse sequence entries, click
in the local toolbar to show the condition indicators.
to save your work.You can include or exclude from a target a specific index keyword marker that you have previously added.
In the XML Editor, right-click on the index keyword marker.
Note: If you do not see the marker, click the Show tags drop-down arrow
and select Show Markers.
In the popup menu, select Conditions.
The Condition Tags dialog opens, with the first condition tag set selected and the associated condition tags shown on the right.
For each condition tag that you want to apply to the index keyword marker, click the check box next to the tag.
A check mark appears in the box.
Click OK.
A square with the color of the condition tag now displays next to the index marker in the topic.
to save your work.
at the bottom of the local toolbar to show them (see About Structure Bars). Then click on its span bar above the topic that corresponds with the link. (If you first click on the link in the topic, the corresponding span bar is highlighted above.) For hypertext links, the span bar is labeled "a." For cross-references, the span bar is labeled "MadCap:xref."In the menu, select Conditions.
The Condition Tags dialog opens, with the first condition tag set selected and the associated condition tags shown on the right.
For each condition tag that you want to apply to the link, click the check box next to the tag.
A check mark appears in the box.
Unbind Removes the link from the content in the output, but leaves the text.
example
Let's say you are creating
to save your work.In the popup menu, select Conditions.
The Condition Tags dialog opens, with the first condition tag set selected and the associated condition tags shown on the right.
For each condition tag that you want to apply to the picture, click the check box next to the tag.
A check mark appears in the box.
Click OK.
A square with the color of the condition tag is displayed next to the picture.
to save your work.In the popup menu, select Conditions.
The Condition Tags dialog opens, with the first condition tag set selected and the associated condition tags shown on the right.
For each condition tag that you want to apply to the snippet, click the check box next to the tag.
A check mark appears in the box.
Click OK.
The color of the condition tag is applied to the snippet.
to save your work.Note: Not only can you apply a condition tag to a snippet, but you can also create snippet conditions. Snippet conditions are condition tags that you can apply to content within snippets. With snippet conditions, you can separate certain snippet content so that it displays in some topics
and
at the bottom of the local toolbar. See About Structure Bars.
, and then click it.In the popup menu, select Conditions.
The Condition Tags dialog opens, with the first condition tag set selected and the associated condition tags shown on the right.
For each condition tag that you want to apply to the row or column, click the check box next to the tag.
A check mark appears in the box.
There are two ways to tell whether a table row or column has one or more condition tags applied to it. In the bottom local toolbar of the XML Editor, click either of the following two toggle buttons to turn the tag indicators on and off:
|
|
Click this button at the bottom of the XML Editor to show or hide shading of the table row or column itself. For example, if your condition tag has blue associated with it and you click this button to show the indicator, the table row or column becomes shaded with a lighter version of blue. If more than one condition tag is applied to the row or column, the shading appears in a pattern that shows all of the applied condition tag colors.
|
|
Click these buttons at the bottom of the XML Editor to show or hide the table row and column bars, respectively. When the cursor is on the row or column containing the applied tag, the bar is shaded with a lighter version of the tag color. This is a good feature to use if you find the shading of the actual row or column distracting. See About Structure Bars.
|
to save your work.Note: If you want to apply a condition tag to an entire table, see the steps for how to apply a condition tag to an entire block of content in a topic. You can select the <table> tag next to the table and use it to apply condition tags.
In the popup menu, select Conditions.
The Condition Tags dialog opens, with the first condition tag set selected and the associated condition tags shown on the right.
For each condition tag that you want to apply to the variable, click the check box next to the tag.
A check mark appears in the box.
Click OK.
A square with the color of the condition tag is displayed next to the variable.
Note: If you cannot see the colored box, make sure the markers are shown in the topic. To do this, click the Show tags drop-down arrow
and select Show Markers.
to save your work.You can include or exclude a specific TOC entry (book, topic, external link) from a target.
Either double-click Master (Master) or another TOC that you may have created.
The TOC Editor opens to the right.
In the local toolbar, click
.
The Properties dialog for the TOC entry opens.
Click the Conditional Text tab.
The first condition tag set is selected and the associated condition tags are shown on the right.
For each condition tag that you want to apply to the TOC entry, click the blank square next to the tag.
A check mark appears in the square.
Click OK.
The square next to the TOC entry in the TOC Editor now takes on the color of the condition tag. If you applied more than one condition tag to the TOC entry, each color is shown in the square.
If you cannot see the squares next to the TOC entries, click
at the bottom of the local toolbar to show the condition indicators.
to save your work.Note: As you are working on a topic in which you have applied condition tags, it is likely that you will want to know what the topic will look like in the final output with or without certain tags. There are two ways to do this. First, you could build the output and then view the output. However, this requires you to perform multiple steps and wait for the entire output to generate. A quicker method is to preview just that topic and include or exclude tags from the preview window.
Although you have applied condition tags to content, any targets that you build will still contain all of your content (whether something has a condition tag applied to it not). To ensure that content with certain condition tags are excluded from your output, you need to associate condition tags with targets.
|
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 |
How to apply condition tags to selected
See Also