Your DITA2Go distribution includes several macro library files in the form of macro configuration templates, listed in Table 39-9. These macro libraries are located in directory %OMSYSHOME%\d2g\macros. The templates are chained together by references.
d2g_macros.ini |
(None) |
|
d2htm_macros.ini |
d2g_macros.ini |
|
d2rtf_macros.ini |
d2g_macros.ini |
To access a macro library (for example):
[Templates] ; Macros = path to macro library file Macros = %OMSYSHOME%\d2g\d2htm_macro.ini
DITA2Go checks the referenced chain of macro libraries whenever a macro you invoke is not defined in your project configuration file.
A macro library file can include another [Templates]Macros setting, to make a chain of macro libraries to be searched; the chain can be any length. However, all files in the chain must have distinct names; the chain stops if DITA2Go finds a repeat.
Your DITA2Go project configuration file should reference d2htm_macros.ini or d2rtf_macros.ini, either directly or indirectly through your own macro library file.