Edit online

Customizing Colors and Styles for Rendering Profiling in Author Mode

By applying profiling colors and styles, you can mark profiled content in Author mode and the DITA Maps Manager so that you can instantly spot differences between multiple variants of the output. This allows you to preview the content that will go into the published output. The excluded text is grayed-out or hidden in Author mode and excluded nodes are grayed-out or hidden in the DITA Maps Manager.

Figure 1. Example: Profiling Colors and Styles in Author Mode
Choosing the right style for a specific profiling attribute is a matter of personal taste, but be aware of the following:
  • If the same block of text is profiled with two or more profiling attributes, their associated styles combine. Depending on the styling, this might result in an excessively styled content that may prove difficult to read or work with.
  • It is recommended that you only profile the differences. There is no need to profile common content, since excessive profiling can visually pollute the document.
  • A mnemonic associated with a style will help you instantly spot differences in the types of content.

Styling Profiling Attribute Values

To set colors and styles for profiling attribute values, follow these steps:
  1. Select the Show Profiling Colors and Styles option from the Profiling / Conditional Text toolbar drop-down menu.
  2. Select Profiling Settings from the Profiling / Conditional Text toolbar drop-down menu. This is a shortcut to the Attributes and Condition Sets preferences page.
  3. Go to the Colors and Styles preferences page to configure the colors and styling for the profiling attributes.
  4. Go to the Attributes preferences page to configure how you want the profiling attributes to appear in Oxygen XML Editor.

Result: The styling is now applied in the Author editing mode, the Outline view, and in the DITA Maps Manager view. Also, to help you more easily identify the profiling you want to apply in the current context, the styling is applied in the Edit Profiling Attributes dialog box and in the inline form control pop-up that allows you to quickly set the profiling attributes.

Figure 2. Profiling Attribute Value Form Control Pop Up

Alternate Method with a DITAVAL File: If you are using a DITAVAL filter file to control the filtering of profiled content in DITA topics, you can use a flag filter to define the colors and styles that will be used when rendering the profiling. For detailed information about this alternate method, see the procedure in the Styling the Rendering of Profiled Content Using a DITAVAL File topic.