### 42.2 Overriding settings with PI markers or macros

To change the value of a configuration setting partway through a DITA file, you assign a new value to a configuration variable. You can insert a PI marker that contains the assignment or (for some settings) define a DITA2Go macro that includes the assignment. Both methods allow you to shift configuration values back and forth within the same DITA file.

In this section:

§42.2.1 Determining the extent of a configuration override

§42.2.2 Overriding settings with configuration PI markers

§42.2.3 Overriding settings with macros

§42.2.4 Assigning values to configuration variables

§42.2.5 Adding a new configuration setting on the fly

§42.2.6 Assigning a macro or variable to a configuration variable

§42.2.7 Understanding fixed-key vs. variable-key settings

§42.2.8 Overriding fixed-key configuration settings

§42.2.9 Overriding variable-key configuration settings

§42.2.10 Assigning HTML table and graphic groups with overrides

Previous Topic: 42.1.2 Understanding precedence of configuration settings

Next Topic: 42.2.1 Determining the extent of a configuration override

Parent Topic: 42. Overriding configuration settings

Sibling Topics:

42.1 Using a different configuration for selected files

42.3 Overriding configuration settings with text