Adobe FRAMEMAKER Скачать руководство пользователя страница 10

Using the Open Toolkit plug-in for FrameMaker

10

Installing JavaHelp

JavaHelp creates Help for use in Java-based applications. To install JavaHelp:

1 Go  to 

http://java.sun.com/products/javahelp/download_binary.html

.

2 Download the latest version of JavaHelp (for example, JavaHelp 2.0_02 [Zip]), accepting the 

license agreements.

3 Click Save to save the archive file to your hard disk; note where you saved the file.

4 Open Windows Explorer by right-clicking the Windows Start menu and choosing Explore from 

the pop-up menu. Navigate to the folder where you saved the archive file.

5 Extract the contents of the archive file to the C:\ folder.

Installing the SAXON XSLT Processor

The SAXON XSLT Processor is an Open Source XSLT processor built by Michael Kay, used to 
transform source XML conforming to the DITA architecture to HTML. To install the SAXON 
XSLT Processor:

1 Go  to 

http://saxon.sourceforge.net/.

2 Click the download link under the heading Saxon 6.5.5.

3 Click one of the download options on the SourceForge.net page.

4 Click Save to save the archive file to your hard disk; note where you saved the file.

5 Open Windows Explorer by right-clicking the Windows Start menu and choosing Explore from 

the pop-up menu. Create a folder within the root folder called Saxon (for example, C:\Saxon).

6 In Windows Explorer, navigate to the folder where you saved the archive file.

7 Extract the contents of the archive file to the C:\Saxon folder that you created.

Installing Microsoft HTML Help

Microsoft HTML Help is a tool for authoring online Help, which is used by the Open Toolkit to 
create compiled Help (.chm) files. To install Microsoft HTML Help:

1 Go  to 

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/

html/hwMicrosoftHTMLHelpDownloads.asp

 (make sure this is a single line).

2 Click Download Htmlhelp.exe and click Save to save the executable file to your hard disk; note 

where you saved the file.

3 Open Windows Explorer by right-clicking on the Windows Start menu, and choosing Explore 

from the pop-up menu. Double-click the Htmlhelp.exe file and follow the steps in the HTML 
Help installation wizard to complete the installation.

Installing the DITA Open Toolkit

The DITA Open Toolkit itself provides files that control the dependent applications, such as the 
JDK, Ant, and SAXON, to generate published output. To install the DITA Open Toolkit:

1 Go  to 

http://dita-ot.sourceforge.net/

.

2 Click Download in the left pane, and click Download DITA Open Toolkit.

3 Select and download the most recent DITA Open Toolkit .zip archive (for example, 

DITA-OT1.4.2.1_full_easy_install_bin.zip), selecting a mirror site for your download.

4 Click Save to save the archive file to your hard disk; note where you saved the file.

5 Open Windows Explorer by right-clicking the Windows Start menu and choosing Explore from 

the pop-up menu. Navigate to the folder where you saved the archive file.

6 Extract the contents of the archive file to the C:\ folder.

Technical skill required

Note that installing the DITA Open Toolkit requires con-
siderable expertise, and may not be appropriate for 
those without at least some programming background.

Time allocation

This process can be time-consuming, as you will be 
installing multiple Open Source applications that sup-
port the toolkit, as well as the toolkit itself. Allocate sev-
eral hours for installation and testing.

Содержание FRAMEMAKER

Страница 1: ...ms to the DITA structure you can use the DITA Open Toolkit to generate a wide variety of outputs The DITA Open Toolkit an Open Source tool chain for multichannel publishing DITA Open Toolkit is availa...

Страница 2: ...enerate 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 To...

Страница 3: ...ile 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 Gen...

Страница 4: ...used for automating soft ware build processes For example the following types of publishing processes can be automated 1 Transform specified XML files such as DITA map files or associated topic files...

Страница 5: ...gs for project dita 6 Set the property value for dita extname to the extension of your referenced topic files in this case xml Property name and value settings for dita extname 7 Save and close Test x...

Страница 6: ...g html txt 3 Save and close ditafm ini Now you can run the selected targets Note that Test xml is a single script that contains multiple tar gets such as CHM and HTML To run the selected targets you h...

Страница 7: ...rget to an existing script as shown in the following figure Customizing the Text xml Ant script To add this target as an option in FrameMaker you can modify the DITA initialization file to refer ence...

Страница 8: ...specific systems CSS style sheets that are used in HTML output Ant scripts Any other tools used in new targets This customization must be separated from the core toolkit processing For example you can...

Страница 9: ...t the core of the DITA Open Toolkit is the Java Development Kit JDK which provides the base Java functionality on which most other toolkit programs depend To install the JDK 1 Go to http java sun com...

Страница 10: ...create compiled Help chm files To install Microsoft HTML Help 1 Go to http msdn microsoft com library default asp url library en us htmlhelp html hwMicrosoftHTMLHelpDownloads asp make sure this is a s...

Страница 11: ...the System Variables 3 Edit existing System Variables by selecting them from the list and clicking Edit Note Do not overwrite path values instead add additional paths to variables by delimiting paths...

Страница 12: ...example C dita ot1 4 2 1 dost jar Set the Classpath variable to include the SAXON jar file Select the Classpath variable in the list of system variables and click Edit add a semicolon no spaces before...

Страница 13: ...ts The various sets of files you need are contained in the openToolkit zip archive Follow the directions for expanding and extracting each set of files to their proper locations Installation overview...

Страница 14: ...xml and PROJECT xml 2 Navigate to your DITA OT folder for example C dita ot1 4 2 1 and paste the two files Next steps Now that you ve seen the power of publishing with the Open Toolkit plug in for Fra...

Отзывы: