#### 39.5.3 Chaining configuration templates

A configuration template can include a setting for [Templates]Configs, specifying yet another template file. This allows you to create a chain of templates for DITA2Go to search for settings. The chain can be any length. All files in the chain must have distinct names; the search stops if DITA2Go finds a repeated template name. The settings in all templates in a chain are applied to your project configuration in a cascade, at run time.

Precedence of templates

In a chain of templates, if the same setting appears in more than one template file but has a different value in each file, the value for that setting in a template closer in the chain to the project configuration file overrides the value in any template farther away in the chain from the project configuration file; and a value for that same setting in the project configuration file overrides the closest template value. See §42.1.2 Understanding precedence of configuration settings.

Previous Topic: 39.5.2 Deciding what to include in a general configuration template

Next Topic: 40. Working with graphics

Parent Topic: 39.5 Creating your own configuration templates

Sibling Topics:

39.5.1 Creating a template from a project configuration file

39.5.2 Deciding what to include in a general configuration template

Table of Contents • Index