Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

16 Configuring DITA maps > 16.3 Constructing a DITA bookmap > 16.3.5 Choosing whether a bookmap references maps or topics


16.3.5 Choosing whether a bookmap references maps or topics

When a FrameMaker file has a starting topic whose topicref wraps the rest of the topics in that file, Mif2Go replaces the topicref tag with the appropriate derivative, such as chapter. Where there is no single top-level topic, Mif2Go wraps the whole lot in a new top-level tag with no href or navtitle. You can provide values for these tags; see §16.5 Providing attributes for bookmap wrapper elements.

The following setting determines whether a bookmap references chapter ditamaps or references topics directly:

[DITAOptions]

; MapBookTopics = Yes (default, include <topicref> for each topic in

;  book .ditamap), or No reference the chapter maps instead)

MapBookTopics = No

If MapBookTopics=No, the href attribute in a bookmap topicref is to the ditamap generated for the FrameMaker chapter file.

If MapBookTopics=Yes, and the chapter file has one top-level topic in its map, that topicref is renamed as the chapter (or other appropriate) element. If the chapter file has more than one top-level topicref, its topicrefs are instead wrapped in the <chapter> element, which in that case has no href attribute unless you supply one in [DITABookmapHrefs]; see §16.5 Providing attributes for bookmap wrapper elements.

See also:

§16.2.1.2 Choosing whether a ditamap references maps or topics



16 Configuring DITA maps > 16.3 Constructing a DITA bookmap > 16.3.5 Choosing whether a bookmap references maps or topics