Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

31 Overriding configuration settings > 31.1 Using a different configuration for selected files > 31.1.2 Understanding precedence of configuration settings


31.1.2 Understanding precedence of configuration settings

At run time Mif2Go builds a configuration for each FrameMaker file in your project, starting with the most specific settings: those in the chapter.ini configuration file, if there is one. Next come settings in the project configuration file, mif2rtf.ini or mif2htm.ini.

Chain of configuration templates

Next, if chapter.ini includes a value for [FDK]ConfigTemplate, (see §4.5 Using Mif2Go configuration templates), settings in the referenced configuration template (and any additional templates chained to it) are applied. If chapter.ini does not reference a configuration template, next come settings in any configuration template referenced by the project configuration file; then on up the chain from that template. Table 31-1 shows the precedence of settings in configuration files and templates.

Table 31-1 Precedence of settings in configuration files and templates

Precedence

Configuration file

Description

Highest

chapter.ini

For a book, configuration file (if any) for a single FrameMaker file named chapter.fm

 

mif2rtf.ini or

Project configuration file for RTF conversion

 

mif2htm.ini

Project configuration file for HTML conversion

 

chaptemplate.ini or

Template referenced by chapter.ini, if any

 

projtemplate.ini

Template referenced by mif2???.ini if no template is referenced by chapter.ini (or no chapter.ini is present)

 

commontemplate1.ini

Template referenced by chaptemplate.ini or by projtemplate..ini, whichever is used

 

commontemplateN.ini

Template referenced by commontemplateN-1.ini

Lowest

Default value

Whatever the default value is for the setting in question

A chain of configuration templates, if any, is applied to chapter.fm either from chapter.ini (preferentially) or from the project configuration file, but not from both. In either case, settings from the templates are applied after settings from the project configuration file, which are applied after settings from the chapter configuration file. For the same setting with different values in different configuration files or templates, the value in the most specific file takes precedence. See §32.2.3 Chaining configuration templates.



31 Overriding configuration settings > 31.1 Using a different configuration for selected files > 31.1.2 Understanding precedence of configuration settings