25.1.1.3 Specifying the base file name for a ditamap

By default, the file name for each DITA map file is the base name of the file from which the map was generated, with extension .ditamap. This is true for both book files and chapter files.

To specify a different base name for a chapter map file, include the following setting in a chapter configuration file filename.ini named for the DITA file (see §42.1.1 Providing configuration files for individual ditamaps):

[DITAOptions]
; MapName = name to use (without extension) for the chapter ditamap.
MapName = othername

Alternatively, you can insert a DITAMapName PI marker in the DITA file. The content of the DITAMapName PI marker becomes the base name for the map file, overriding any value specified for MapName.

To specify a different base name for a book map file, in your project configuration file:

[DITAOptions]
; BookMapName = name to use (without extension) for the book ditamap.
BookMapName = bookname

You cannot use a PI marker to override the base name for a book map file.

Previous Topic:  25.1.1.2 Choosing whether a ditamap references maps or topics

Next Topic:  25.1.1.4 Specifying a title for a chapter or book ditamap

Parent Topic:  25.1.1 Specifying options for ditamaps

Sibling Topics:

25.1.1.1 Choosing whether to overwrite ditamaps

25.1.1.2 Choosing whether a ditamap references maps or topics

25.1.1.4 Specifying a title for a chapter or book ditamap

25.1.1.5 Specifying a navigation title for a ditamap

25.1.1.6 Specifying the ID for a ditamap