Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

30 Working with templates > 30.3 Including document-specific configuration files > 30.3.2 Referencing a document-specific configuration file


30.3.2 Referencing a document-specific configuration file

To reference a document-specific configuration file:

[Templates]

; Document = path to document-specific configuration file

Document = %OMSYSHOME%\m2g\documents\mydocname_doc.ini

Or:

[Templates]

; Document = path to local document-specific configuration file

Document = mydocsource\_config\outputtype_doc.ini

It is a matter of preference whether you keep document-specific configuration files for all documents in one central location (for example, the %OMSYSHOME%\m2g\documents directory included in your Mif2Go distribution for this purpose) or in a _config subdirectory under your FrameMaker source directory; see §30.3.3 Deciding where to keep document-specific configuration files.

Mif2Go processes the entire Document chain before continuing with the Configs chain. The Document chain is interpolated between your starting project configuration file and the Configs chain that your project configuration file references. Settings in the Document chain override settings in the Configs chain.

Although it cannot reference general configuration files, a document-specific configuration file can reference other types of configuration files via the following [Templates] settings: 

[spacer]

Document

Other document-specific configurations

Macros

Macro libraries

Settings in files referenced by a document-specific configuration file override settings in other types of files referenced by your project configuration file. Settings in your project configuration file override settings in the Document chain.



30 Working with templates > 30.3 Including document-specific configuration files > 30.3.2 Referencing a document-specific configuration file