Document Types > Document Type Configuration (.dcf) > Restricting Character Substitution for Elements
  
Restricting Character Substitution for Elements
By default, Arbortext Editor turns on special processing for quotation marks and dashes. The double quote key lets authors cycle through open, closing, and straight double quotes (“, ”, "). The hyphen key lets authors cycle through hyphen, em dash, and en dash (-, —, –).
You can change the default behavior, and restrict the processing of quotation marks and dashes for elements in the .dcf file.
To restrict character substitution for specific elements:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type whose .dcf file you want to modify is saved, and click Select.
4. Once the document type is loaded, choose Edit > DCF. If the document type has a .dcf file, it displays in the Arbortext ArchitectDCF Editor window. If there is no .dcf file associated with this document type, Arbortext Architect automatically creates one.
5. Locate the ElementOptions element in the DCF Editor. If the file doesn't include a ElementOptions element, add one.
* 
Open the Document Type Viewer (Tools > Document Type Viewer) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the ElementOptions element.
6. Place your cursor next to the ElementOptions element, choose Insert > Markup, and then choose ElementOption.
7. Click next to the ElementOption element to open the Modify Attributes dialog box.
* 
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
8. In the element field, select the element to which you want to apply the restrictions.
9. Choose no in the allowCharacterSubstitution field. The default value is default, which uses the setting made at document type level (Options element).
10. Click OK.
11. Choose File > Save to save the changes you have made to the .dcf file.
To restrict character substitution at document type level:
1. Open the document type configuration file for edit as described above.
2. Locate the Options element in the DCF Editor. If the file doesn't include an Options element, add one.
* 
Open the Document Type Viewer (Tools > Document Type Viewer) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the Options element.
3. Place your cursor to the right of the Options element, and choose Edit > Modify Attributes or click on the Modify Attributes toolbar button to open the Modify Attributes dialog box.
* 
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
4. In the allowCharacterSubstitution field, enter the value no.
5. Click OK.
6. Choose File > Save to save the changes you have made to the .dcf file.