45.3.1 Command-line switch -f format

The DCL -f switch specifies either a one-character code or a name for the output format, with an optional suffix that generates additional processing for certain formats.

The -f options have the following meanings: 

Format code or name

Optional suffix

Description

N or HTML
 

HTML 4.0

X or XHTML
 

XHTML 1.0

M or HTMLHelp
C I B

Microsoft HTML Help

J or JavaHelp
C I B

JavaHelp

O or OracleHelp
C I B

Oracle Help for Java

E or EclipseHelp
C I B

Eclipse Help

C or OmniHelp
C I B

Cross-platform OmniHelp

D or DITA
 

DITA XML

B or DocBook
 

DocBook XML

G or XML
 

Generic XML

W or Word
 

Word 8/97

H or WinHelp
 

WinHelp 4

Merge contents and/or index

Where listed under Suffix, you can append one of the following letters to the format name (case does not matter). These suffix options apply to HTML-based Help systems for which DITA2Go can generate contents and/or index. For example: -f HTMLHelpB.

C - Merge contents

I - Merge index

B - Merge both contents and index

Letters C, I, and B represent three mutually exclusive options for the same merge operation, which can also (re-) create the project file (depending on configuration settings) while generating the other infrastructure files for the designated Help system.

Note:  When you specify suffix C, I, or B for the -f argument, the input file must have extension .lst; see §45.3.3 Command-line argument input ....

Previous Topic:  45.3 DCL command-line syntax

Next Topic:  45.3.2 Command-line switch -o output

Parent Topic:  45.3 DCL command-line syntax

Sibling Topics:

45.3.2 Command-line switch -o output

45.3.3 Command-line argument input ...

45.3.4 Command-line switch -v

45.3.5 Additional command-line switches