Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 32 Working with content models > 32.7 Specializing or modifying DITA topic types > 32.7.1 Creating a content model for a specialized topic type
To create a content model for a specialized DITA topic type:
1. Run
utility program dtd2ini
with the
DTD file for your specialized type as input. Specify for output a content-model
configuration file with a name of the form DITA
newtype
.ini
,
where newtype
is the name of the
new topic type you are defining. See §32.2.2 Generating a content model from a DTD.
2. Add
the following settings to DITA
newtype
.ini
:
; TopicStart = name of element that starts topic, such as
; "glossterm" (for glossary) or "title" (for every other type).
; TopicBody = name for its body element, such as conbody for
The required starting element is <title>
for all built-in DITA topic types (including map
),
except for glossary
. For glossary
topics, the starting element is <glossterm>
.
For a specialized topic type, your DTD specifies the starting element.
When the FrameMaker format mapped to the TopicStart
element in [DITAParaTags]
is also mapped to
level 1 in [DITALevels]
, that format always
starts a new topic of the specialized type. See §15.5.13 Specifying DITA element levels.
3. Add settings for table structure; see §32.7.7 Providing table structure information for DITA topic types.
4. In your project configuration file, list the name of your new topic type:
DITAnewtype = any text here (ignored)
See §32.7.5 Listing DITA topic type configuration files.
5. Place
DITA
newtype
.ini
where Mif2Go can find it; see §32.7.6 Locating DITA topic type configuration files.