To access the DITA New Topics preferences page, open the
Preferences dialog box and go to . This preferences page includes the following options:
New Topics section
- Use the title to generate the file name
- This option (and its sub-options) pertain to the rules that will be used to generate
file names in the New DITA File dialog
box. Select this option to use the text entered in
the Title field to automatically generate a file name (the
generated name can be seen in the Save as field). By default,
the generated name will replace spaces with underscores (
_), all
illegal characters will be removed, and all upper case characters changed to lower
case, but you can use the sub-options to change this.
-
- Replace non-alphanumeric characters with
-
If selected, the file name generation mechanism will replace all
non-alphanumeric characters in the title with the character entered in this
option.
- Lower case only
- If selected, the file name generation mechanism will only use lower
case letters.
- Use camel case
-
If selected, the file name generation mechanism will convert the title to a
file name using the camel case convention where the first word
starts with a lower case letter and all subsequent words begin with upper
case (for example, myFileName).
- Upper case first letter
- Select this option if you want the file name generation mechanism to
convert the title to a file name using the camel case
convention but with an upper case letter for the first word (for
example,
MyFileName).
- Use the file name as the value of the root ID attribute
- If selected, when creating a new topic, the file name (as seen in the
Save as field but without the file extension) will be used as
the value of the root
@id attribute for the new topic.
Inserting Links section
- Always set values for the following attributes
-
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 selected, the
@format
attribute will always be automatically populated with a detected value.
- Scope - If selected, the
@scope
attribute will always be automatically populated with a detected value.
- Type - If selected, the
@type attribute
will always be automatically populated with a detected value.
- Use '.' instead of the ID of the parent topic (DITA 1.3)
-
When addressing a non-topic element within the topic that contains the URI
reference, the URI reference can use an abbreviated fragment-identifier syntax that
replaces the topic ID with "." (#./elementId). For
more information, see https://www.oxygenxml.com/dita/1.3/specs/index.html#archSpec/base/uri-based-addressing.html.