#### 41.7.5 Listing DITA topic type configuration files

When you provide a DITAtopictype.ini configuration file, you must list the name of the topic type in your project configuration file, so DITA2Go knows you are specializing, and knows to look for the name of the specialized configuration file.

To list specialized topic types, in your project configuration file specify the following:

    [DITAContentModels]
    DITAopictype = any text here (ignored)

Give each new type any alphanumeric name, except the name of a built-in type; that is, you may not name a new type topic, concept, task, reference, map, or (for DITA version 1.1) glossary. List the name of a built-in topic type only if you are overriding a feature of that topic type.

You can put whatever you want to the right of the equals sign; DITA2Go reads only the topic type name to the left of the equals sign.

Provide a DITAtopictype.ini configuration file named for each topic type you list; see §41.2.2 Generating a content model from a DTD. or §41.7.2 Overriding settings in a DITA content model. DITA2Go loads each listed DITAtopictype.ini configuration file at start-up, after initializing internal values for the built-in base topic types.

You do not have to list a topic type if the type is explicitly requested through an assignment to [DITAOptions]DefTopic (see §24.8.2.2 Specifying a default DITA topic type), or in a DITATopic PI marker, in which case the corresponding DITAtopictype.ini configuration file loads on demand. If the topic type information replaces one or more of the built-in types, this is the best way to load it.

If you create a new topic type that is derived from another new type, you can optionally list only the last topic type in the chain to get the whole batch loaded. Listing all types in the chain is harmless, but unnecessary.

Previous Topic: 41.7.4 Overriding declarations in a DITA map content model

Next Topic: 41.7.6 Locating DITA topic type configuration files

Parent Topic: 41.7 Specializing or modifying DITA topic types

Sibling Topics:

41.7.1 Creating a content model for a specialized topic type

41.7.2 Overriding settings in a DITA content model

41.7.3 Eliminating elements from a DITA content model

41.7.4 Overriding declarations in a DITA map content model

41.7.6 Locating DITA topic type configuration files

Table of Contents • Index