(register)   username:   password:  

Community KB :: DITA / FrameMaker

A collection of tips and troubleshooting information. Feel free to register and add your own items.

Tags:                                        
Keywords: 

FMN DITA .. refers to the DITA support that is provided by default in FM9 and FM8.

DITA-FMx .. is a plugin that provides extended DITA authoring support for FM9, FM8, FM7.2 and FM7.1. More info...

Submitted by: Scott Prentice (2008-01-31)
Last updated: 2008-06-19

TAGS:  OpenToolkit, Output, FM8 DITA, FM 8.0
SUMMARY:  I installed the FM8 DITA-OT plugin, but I can't get the Generate Output dialog to display
ISSUE:  After installing the DITA-OT plugin for FM8, choosing the "Generate Output" command displays the message ..

    "The DITA-OT directory is not set in Options, unable to generate output."

However, there is no field in the Options dialog to set this value.
SOLUTION:  You need to add the lines below to the fminit/ditafm/ditafm.ini file. In particular, the DitaDir parameter must specify the DITA-OT directory on your system (if this isn't valid, you'll get a different error message when you try to run the command).

Once this information is added to the INI file, the command will run and you'll be able to change the OT directory through the dialog that displays.


[BuildFile]
AntCommand=ant
AntScript=ditafm-ant.xml
Count=3
DitaDir=C:\Tools\DITA\DITA-OT1.3.1
1=chm
2=html
3=pdf

[AntBuild]
AntCommand=ant
Count=2
1=Test - CHM
2=Test - HTML

[ANT:Test - CHM]
BuildFile=C:\DITA-OT1.3.1\Test.xml
Target=chm
OutputDir=C:\Projects\Test\out\chm
Logfile=C:\Projects\Test\ant-buildlog-chm.txt

[ANT:Test - HTML]
BuildFile=C:\DITA-OT1.3.1\Test.xml
Target=html
OutputDir=C:\Projects\Test\out\html
Logfile=C:\Projects\Test\ant-buildlog-html.txt