You can invoke DITA-OT and build output using the dita command.
Procedure
-
DITA-OT client is a command-line tool, there is no graphic user interface. Open a terminal window by typing the following in search bar:
- On OS X and Linux type Terminal.
- On Windows type Command Prompt
-
From the terminal window, issue the following command:
install-dir/bin/dita -f transformation-type -i input-file -o output-dir
where:
If processing is successful, nothing is printed on the terminal window.
Example
The following command generates HTML5 output for the sequence.ditamap file and specifies the output is written to the test directory
dita -f html5 -i samples/sequence.ditamap -o test