5.1.1 Checking output type and file extension

When you set up a conversion project (see §3.3 Creating a Mif2Go conversion project), you use the Mif2Go Choose Project dialog to specify the output type. Mif2Go produces a new project configuration file for you that contains the correct setting for the output type you selected. Do not change this setting.

Table 5-1 shows the name of the project configuration file for each output type, and the default extension for output files. You can change the setting for the output file extension, for all output types except DITA and WinHelp. Additional settings may be required as appropriate for each output type. For example, if you change the value of HTMLSuffix or XMLSuffix, you must also change the value of FileSuffix to match, or links between split files might fail; see:

§13.2.4 Specifying a different output file extension

§19.6.2 Specifying a file extension for interfile links

Table 5-1 Output types, configuration files, and file extensions

Output category

Output type

Project configuration file

Output file extension setting

Ref.

HTML-based Help

Eclipse Help

_m2eclipse.ini

HTMLSuffix = .htm

12

Microsoft HTML Help

_m2htmlhelp.ini

HTMLSuffix = .htm

9

JavaHelp

_m2javahelp.ini

HTMLSuffix = .htm

11

OmniHelp

_m2omnihelp.ini

HTMLSuffix = .htm

10

Oracle Help for Java

_m2oraclehelp.ini

HTMLSuffix = .htm

11

HTML

Standard HTML

_m2html.ini

HTMLSuffix = .htm

13

XHTML

_m2xhtml.ini

HTMLSuffix = .htm

13

XML

DITA XML

_m2dita.ini

XMLSuffix = .dita

15

Docbook XML

_m2docbook.ini

XMLSuffix = .xml

17

Generic XML

_m2xml.ini

XMLSuffix = .xml

14

RTF

WinHelp

_m2winhelp.ini

.rtf (not settable)

8

Print RTF

_m2rtf.ini

WordSuffix = .rtf

6

Intermediate

ASCII DCL

_m2dcl.ini

HTMLSuffix = .dcl

38

 

FrameMaker MIF

_m2mif.ini

MIFSuffix = .mif

38

You can also use the Export dialog to change the file extension, just before running a conversion (see §3.7 Choosing final conversion options). When you do, Mif2Go writes the new extension to the configuration file.