#### 24.8.4 Adjusting DITA topic IDs generated from file names

By default, DITA2Go uses the base name of the output file that contains a DITA topic as the ID for that topic. Because topic IDs may not contain spaces, by default DITA2Go removes any spaces in the ID, and makes the ID all lowercase. You can specify other treatments: a character to replace each space, remove underscores, keep original case.

To adjust topic IDs generated from file names:

    [DITAOptions]
    ; These are used only when generating a TopicID from the file name:
    ; DITATopicIDSpaceChar = char to replace spaces, default none
    ;  (remove space)
    DITATopicIDSpaceChar=_
    ; DITATopicIDUnderscore = Yes (default, keep underscores)
    ;  or No (remove)
    DITATopicIDUnderscore=Yes
    ; DITATopicIDLowerCase = Yes (default, make all lower)
    ;  or No (retain original)
    DITATopicIDLowerCase=Yes

If you have FrameScript installed on your system, you can use a script to create more “human readable” topic names for DITA output. See:

http://frameautomation.com/2010/03/24/renaming-dita-map-topics/

Previous Topic: 24.8.3 Specifying the ID for a DITA topic

Next Topic: 24.8.5 Specifying alternate titles for a DITA topic

Parent Topic: 24.8 Configuring DITA topics

Sibling Topics:

24.8.1 Designating starting points for DITA topics

24.8.2 Specifying the DITA topic type

24.8.3 Specifying the ID for a DITA topic

24.8.5 Specifying alternate titles for a DITA topic

24.8.6 Omitting a DITA topic from the TOC

Table of Contents • Index