Diff for Working with maps
Thu, 2007-11-01 10:44 by Bruce Esrig | Sat, 2007-11-17 01:49 by syeo | ||
---|---|---|---|
expanding | |||
< previous diff | next diff > | ||
Changes to Body | |||
Line 11 | Line 11 | ||
<li><span style="font-size: x-small; font-family: Lucida Sans Unicode"><a href="http://docs.oasis-open.org/dita/v1.0/archspec/dita_spec_23_maps.html">http://docs.oasis-open.org/dita/v1.0/archspec/dita_spec_23_maps.html</a>.</span> </li>
| <li><span style="font-size: x-small; font-family: Lucida Sans Unicode"><a href="http://docs.oasis-open.org/dita/v1.0/archspec/dita_spec_23_maps.html">http://docs.oasis-open.org/dita/v1.0/archspec/dita_spec_23_maps.html</a>.</span> </li>
| ||
</ul>
| </ul>
| ||
+ | <h2>Controlling heading hierarchies using ditamaps </h2>
| ||
+ | <p>
| ||
+ | People often ask what to do to make extra headings and levels of hierarchy appear within a table of contents.
| ||
+ | </p>
| ||
+ | <p>
| ||
+ | A common misconception is that if a map includes a submap, the title of the submap will appear as an extra heading in output. This does not occur. Also, the topics within the submap appear at the same hierarchy level as other topics that are peer to the submap itself; being in a submap does not cause extra "indenting".
| ||
+ | </p>
| ||
+ | <p>
| ||
+ | To add an extra heading to a map, a good method is to use a <topicref> element pointing to a topic that contains a title and nothing else. This method is easy to manage for translation.
| ||
+ | </p>
| ||
+ | Another method is to use the <topichead> element. This element did not appear in PDF output using previous versions of the DITA Open Toolkit. However, version 1.4 of the DITA Open Toolkit does create headings from <topichead>.<br />
| ||
+ | <p>
| ||
+ |
| ||
+ | </p>
| ||
+ | <p>
| ||
+ |
| ||
+ | </p>
| ||
<p>
| <p>
| ||
Editors for the Architecture area:
| Editors for the Architecture area:
|
Working with maps
DITA maps collect and organize references to DITA topics to indicate the relationships among the topics. They can be used to identify the topics you want to include in a deliverable, and to create tables of contents and related links for the information.
Maps can organize topics into hierarchies, tables, and groups, and also have special elements for referencing other maps. You can use multiple maps to pull different deliverables out of the same set of topics, and to separate the concerns of managing deliverables and architecting information from the concerns of topic authoring.
The architectural specification describes DITA maps and relationship tables at
Controlling heading hierarchies using ditamaps
People often ask what to do to make extra headings and levels of hierarchy appear within a table of contents.
A common misconception is that if a map includes a submap, the title of the submap will appear as an extra heading in output. This does not occur. Also, the topics within the submap appear at the same hierarchy level as other topics that are peer to the submap itself; being in a submap does not cause extra "indenting".
To add an extra heading to a map, a good method is to use a <topicref> element pointing to a topic that contains a title and nothing else. This method is easy to manage for translation.
Another method is to use the <topichead> element. This element did not appear in PDF output using previous versions of the DITA Open Toolkit. However, version 1.4 of the DITA Open Toolkit does create headings from <topichead>.
Editors for the Architecture area: