Customizing AutoCorrect DictionaryEdit online
Oxygen XML Web Author includes an AutoCorrect feature to automatically correct misspelled words as you type. There is a default list of commonly misspelled words and symbols for each supported language, but you can modify the list to suit your needs.
Customizing the AutoCorrect Terms List Using Oxygen XML Editor/Author
- In Oxygen XML Editor/Author, go to .
- Make whatever changes you require and click Apply. If you need help with any of the options in this preferences page, see AutoCorrect Preferences.
- Go to and note the location where the dictionaries are stored.
- Navigate to that location with a file explorer and look for a patch file (it should look like: en_patch.xml).
- Copy or move that patch file to the options/autocorrect folder
that is located inside your Oxygen Data
Directory (
oxygen.data.dir/options/autocorrect
). - Restart Web Author for the AutoCorrect feature to start using the new terms list.
Alternate Method (Without Using Oxygen XML Editor/Author)
- Create a patch file called en_patch.xml with content like
this:
<?xml version="1.0" encoding="UTF-8"?> <replacements> <deletion match="i" substitution="I"/> <deletion match="(c)" substitution="©"/> </replacements>
- Save it in the options/autocorrect folder that is located inside
your Oxygen Data Directory
(
oxygen.data.dir/options/autocorrect
). - Restart Web Author for the AutoCorrect feature to start using the new terms list.
Text-to-Markup AutoCorrrect Conversions
Some built-in frameworks include a configuration file that defines shortcut patterns that
can be used to automatically insert a certain XML structure. More specifically, the XML
structure (fragment) automatically replaces a specific prefix pattern. For example, if you
are editing a DITA document using the built-in DITA framework, entering a hyphen (-)
followed by a space at the beginning of a paragraph would automatically replace them with an
unordered list element (<ul>
) with a child list item element
(<li>
). This is made possible by the AutoCorrect
mechanism.
It is possible to customize the particular configuration file (structureAutocorrect.xml) to define your own markup insertion shortcut patterns for your custom framework (document type). For more information, see Customizing Text-to-Markup Automatic Conversions.