Using the Open Toolkit plug-in for FrameMaker
2
The Open Toolkit plug-in for FrameMaker
Generating output from the current file
After installation, you can run the DITA Open Toolkit processes from within FrameMaker. There
are two ways to do this, corresponding to the two options, Current File and Selected Target in the
DITA Generate Output dialog box:
The DITA Generate Output dialog box offers two forms of DITA Open Toolkit processing.
•
Current File
uses a pre-configured Ant script: This Ant script is the ditafm-ant.xml file that you
copied to your DITA-open toolkit folder on installation. This script generates output from a topic
that is currently open or from the map file to a sub folder of the folder containing the topic. On a
configured system, you can generate output without having to modify the Ant script. However,
you can edit the ditafm-ant.xml file to customize the processing of output. You must specify the
path where you installed the DITA Open Toolkit.
•
Selected Target
lets you specify an Ant script you’ve created. You must set up your own Ant script
and reference the script in the ditafm.ini file. The list of selected targets does not appear until you
define them in the Ant script and reference them in the ditafm.ini file.
• Most users may require only the Current File method starting the DITA open toolkit. Most
FrameMaker users may use the Current File method for running the DITA Open Toolkit pro-
cesses.
You can use Current File to process the map file or DITA topics that are open.
In the Selected Target method, the Ant scripts referenced in your DITA initialization file are run.
This method indicates the following:
• Files to process
• Applications and processes to run
• Destination folders and filenames