##### 4.1.4.1 Choosing whether to generate a map

By default, when you specify a DITA topic file as input, if no map that references that topic file is present, DITA2Go generates a map for your project.

To prevent DITA2Go from generating a map:

    [MapGeneration]
    ; GenerateMapIfMissing = Yes (default, if no map found, generate a
    ; ditamap with the same name and run that instead), or No
    GenerateMapIfMissing = No

When GenerateMapIfMissing=Yes, DITA2Go first looks for a map with the same name as the topic file, in the same directory; if found, DITA2Go processes that map. If the directory contains both a .ditamap and a .bookmap, DITA2Go uses the .bookmap. DITA2Go never overwrites an existing map file.

When GenerateMapIfMissing=No, DITA2Go processes the topic file by itself. The output will not include a TOC, and related-links will not be resolved.

Previous Topic: 4.1.4 Generating a map from a DITA topic file

Next Topic: 4.1.4.2 Specifying options for a generated map

Parent Topic: 4.1.4 Generating a map from a DITA topic file

Sibling Topics:

4.1.4.2 Specifying options for a generated map

Table of Contents • Index