#### 39.4.7 Editing a macro configuration file

DITA2Go provides several macro libraries in the form of macro configuration files, organized by output type. These files are located in %OMSYSHOME%\d2g\local\macros. You can add your own macros, and override macros in the default macro libraries they reference. Table 39-9 lists the macro configuration files you can edit.

Table 39-9 Macro configuration files

Output type | Editable macro configuration file
HTML |
    local_d2g_d2htm_macros.ini
Print RTF |
    local_d2g_d2rtf_macros.ini
WinHelp |
    local_d2g_d2winhelp_macros.ini

Macro libraries are referenced from output-specific configuration files; they can also be referenced from document-specific configuration files. Each editable macro library in turn references an eponymous macro library that contains all the macros distributed with DITA2Go. Do not edit those referenced libraries; they will be overwritten every time you update DITA2Go. To change a distributed macro, override it with a new definition in the appropriate \local\macros library.

Previous Topic: 39.4.6 Editing a language configuration file

Next Topic: 39.4.8 Indicating the intended scope of a configuration file

Parent Topic: 39.4 Deciding which configuration file to edit

Sibling Topics:

39.4.1 Understanding what configuration files are available

39.4.2 Editing a project configuration file

39.4.3 Editing a document-specific configuration file

39.4.4 Editing an output-specific configuration file

39.4.5 Editing a format configuration file

39.4.6 Editing a language configuration file

39.4.8 Indicating the intended scope of a configuration file