Building output using the <cmdname>dita</cmdname> command You can generate output using the DITA Open Toolkit dita command-line tool. Build parameters can be specified on the command line or with .properties files. The DITA-OT client is a command-line tool with no graphical user interface. Open a terminal window by typing the following in the search bar:
  • On OS X and Linux, type Terminal.
  • On Windows, type Command Prompt.
At the command-line prompt, enter the following command:  input-file  format options

where:

Run from , the following command generates HTML5 output for the sequence.ditamap file:

sequence.ditamap html5

For example, from , run:

dita sequence.ditamap html5 \ output/sequence \ args.input.dir= \ properties/sequence-html5.properties

This builds sequence.ditamap to HTML5 output in output/sequence using the additional parameters specified in the properties/sequence-html5.properties file:

Most builds require you to specify more options than are described in this topic.

Usually, you will want to specify a set of reusable build parameters in a .properties file.