Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

15 Converting to DITA XML > 15.9 Configuring DITA topics > 15.9.4 Adjusting DITA topic IDs generated from file names


15.9.4 Adjusting DITA topic IDs generated from file names

By default, Mif2Go 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 Mif2Go 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/



15 Converting to DITA XML > 15.9 Configuring DITA topics > 15.9.4 Adjusting DITA topic IDs generated from file names