Download Print this page

Framemaker; Advanced Features - Adobe FRAMEMAKER Using Manual

Open toolkit plug-in

Advertisement

Thus, the Selected Target method is more appropriate for calling publishing processes that generate
output from source files in the locations specified in your custom Ant scripts.
Current File Method
Make the following changes in fminit\ditafm\ditafm.ini
To process a topic file that is open, change the ditafm.ini file as follows:
[BuildFile]
AntCommand=ant
AntScript=ditafm-ant.xml
Count=2
DitaDir=C:\DITA-OT1.4.2.1
1=chm
2=html
To generate output from the example Help file DITA map, using the Current File option:
1 Open a ditamap file.
2 If prompted, select the structured application DITA-Map-HTML, and click Continue.
Use the Structured Application dialog box.
3 Select the path where the DITA Open Toolkit is installed.
4 Select the Current File option.
5 Select .html.
6 Select the output folder, and click Build.
On a fully configured system, the example DITA content is saved in HTML.
HTML output
To view the HTML output, double-click the index.html file, which is located in the output folder.
Compiled Help (.chm) output
You can generate compiled Help (.CHM) easily. This process is similar to generating HTML output.
Open the .ditamap file, and choose DITA-->Generate CHM Output. A folder named CHM is cre-
ated in the output folder. The CHM folder contains the CHM file.
When you use the Current File option to generate output using the DITA Open Toolkit, you do not
need to modify any of the Ant, XSLT, or initialization files.
PDF output
The recommended way to generate a PDF for DITA files is through the Save As PDF option in

FrameMaker.

However, to generate PDFs using the DITA Open Toolkit:
1 Install a FO processor that helps in converting FO files to PDF. (Apache FOP is free.)
2 With Apache FOP installed, add fop.jar, batik.jar, avalon-framework-cvs-20020806.jar file path to
the CLASSPATH environment variable.
3 Update ditafm.ini to add an entry for PDF.
The route to generate PDFs through DITA Open Toolkit is added to the DITA Generate Output dia-
log box.

Advanced features

The publishing capabilities of Adobe FrameMaker are enhanced by the Open Toolkit plug-in for
FrameMaker. To take advantage of these features, you must have knowledge of the following:
Using the Open Toolkit plug-in for FrameMaker
3

Advertisement

loading

This manual is also suitable for:

Framemaker 9