DITA Preferences
To access the DITA Preferences page, open the Preferences dialog box and go to DITA. This preferences page includes the following sections and options:
- DITA Open Toolkit section
- This section allows you to specify the default directory of the DITA Open Toolkit
distribution (bundled with the Oxygen XML Editor installation) to be used for
validating and publishing DITA content. You can select from the following:
- Built-in DITA-OT 1.8
- If this is set, all defined DITA transformation scenarios will run with DITA-OT 1.8. The builtin DITA OT 1.8 directory is: [OXYGEN_INSTALL_DIR]/frameworks/dita/DITA-OT.
- Built-in DITA-OT 2.x (with support for DITA 1.3 and Lightweight DITA)
- Starting with Oxygen 18.0, this is the default setting. All defined DITA transformation scenarios will run with DITA-OT 2.x. This also gives you access to DITA 1.3 file templates when you create new documents from templates. The default DITA OT directory is: [OXYGEN_INSTALL_DIR]/frameworks/dita/DITA-OT2.x.
- Custom
- Allows you to specify a custom directory for your DITA OT distribution.
- Location
- You can either provide a new file path for the specific DITA OT that you
want to use or select a previously used one from the drop-down list. You can
specify the path by using the text field, the
Insert Editor
Variables button, or the
Browse button.
- DITA Maps file patterns
- Allows you to specify the extension types that will be handled as DITA maps when opened in Oxygen XML Editor.
- When opening a map
- Oxygen XML Editor can open a DITA map in the regular editor view or in the DITA Maps Manager. This options allows you to specify
how a map will be opened. You can choose one of the following options:
- Always open in the DITA Maps Manager - A DITA map file is always opened in the DITA Maps Manager view.
- Always open as XML - A DITA map file is always opened in the XML editor.
- Always ask - When opening a DITA map, you are prompted to choose between opening it in the XML editor panel or in the DITA Maps Manager view.
- If enabled and there is a
navtitleattribute set on atopicref, then thenavtitleis used to render the title of the topic in the DITA Maps Manager. - Insert topic reference section
- Allows you to specify that when inserting a topic reference (using the Insert
Reference dialog box and Edit
Properties dialog box), the values for certain attributes
will always be automatically populated with a detected value (based on the
specifications), even if it is the same as the default value. You can choose to always
populate the values for the following attributes:
- Format - If enabled, the
formatattribute will always be automatically populated with a detected value. - Scope - If enabled, the
scopeattribute will always be automatically populated with a detected value. - Type - If enabled, the
typeattribute will always be automatically populated with a detected value. - Navigation title - If enabled, the
navtitleattribute will always be automatically populated with a detected value.
- Format - If enabled, the
- Insert link section
- Allows you to specify that when a link reference is inserted (using actions in the
Link
drop-down menu), the values for certain attributes will always be automatically
populated with a detected value (based on the specifications), even if it is the same as
the default value. You can choose to always populate the values for the following attributes:- Format - If enabled, the
formatattribute will always be automatically populated with a detected value. - Scope - If enabled, the
scopeattribute will always be automatically populated with a detected value. - Type - If enabled, the
typeattribute will always be automatically populated with a detected value.
- Format - If enabled, the
- Show console output
- Allows you to specify when to display the console output log. The following options
are available:
- When build fails - displays the console output log if the build fails.
- Always - displays the console output log, regardless of whether or not the build fails.
- Profiling Attributes link
- Link to the Profiling Attributes preferences page, where you can configure how profiling and conditional text is displayed in Author mode.