37.2.4.2 Creating a file-specific macro library

If you store macro definitions in a file named the same as the DITA file you are converting, but with extension .ini, DITA2Go uses the macros in that file in place of any with the same macro names in your project configuration file. This lets you plug in file-specific code and data.

When you create a file-specific macro library, put a non-macro dummy section at the end of the file; for example:

[End]

Otherwise, the last macro in the library might cause an extra character to be inserted in the output.

Previous Topic:  37.2.4.1 Creating a macro library

Next Topic:  37.2.4.3 Creating a chain of macro libraries

Parent Topic:  37.2.4 Including macro definitions in your own macro library

Sibling Topics:

37.2.4.1 Creating a macro library

37.2.4.3 Creating a chain of macro libraries