Monday, October 12, 2015

(Tip2) Creating TOC navigation levels in DITA for FrameMaker 2015 published outputs

To create TOC navigation levels from DITA to FrameMaker published output we need to edit the ditafm-output.ini file present in Windows %appdata% folder.

The folder/file can be accessed via:
Windows > Run > (paste this) > %appdata%\Adobe\FrameMaker\13\ditafm-output.ini > {ENTER key}

In the file edit the section [BookWithFM-TOC] to add extra levels to the output TOC.

FrameMaker's DITAmap's output is currently controlled through 'ParaTags' setting present in 'BookWithFM-TOC' section of "ditafm-output.ini". It is shipped with default 2 levels with  title.0 (chapter title) and title.1(section title) that get included in the TOC. 

            [BookWithFM-TOC]
            Template=TOCTpl.fm
            ElementTags=
            ParaTags=title.0|title.1

To add more levels to the DITA published output we need to add more levels to the BookWithFM-TOC section.

Example to change it up to  4 levels:
                [BookWithFM-TOC]
                Template=TOCTpl.fm
                ElementTags=
                ParaTags=title.0|title.1|title.2|title.3|title-index
DITA output with navigation levels in TOC

Hope this helps you to add more power to your published outputs!

No comments:

Post a Comment