37.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: 

[spacer]

Format code or name

Suffix

Description

N or HTML

F L

HTML 4.0

X or XHTML

F L

XHTML 1.0

M or HTMLHelp

F L C I B

Microsoft HTML Help

J or JavaHelp

F L C I B

JavaHelp

O or OracleHelp

F L C I B

Oracle Help for Java

E or EclipseHelp

F L C I B

Eclipse Help

C or OmniHelp

F L C I B

Cross-platform OmniHelp

D or DITA

F L

DITA XML

B or DocBook

F L

DocBook XML

G or XML

F L

Generic XML

W or Word

F L

Word 8/97

7

F L

Word 7/95

P or WordPerfect

F L

WordPerfect

H or WinHelp

F L

WinHelp 4

3

F L

WinHelp 3

F

 

FrameMaker MIF only

Run wrap-and-ship tasks only

Where F and L are listed under Suffix, to run only wrap-and-ship tasks for a project you can append one of these letters to the format name (case does not matter):

F - For a single-file project, run just the wrap-and-ship tasks

L - For a book-level project, run just the wrap-and-ship tasks

You can use dummy names for the input, because wrap-and-ship tasks are independent of the content files. For example:

dcl -f htmlL StartAuto.mif

See §34 Automating Mif2Go conversions and §35 Producing deliverable results.

Merge contents and/or index

These suffix options apply to HTML-based Help systems for which Mif2Go 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.