Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

27 Working with Mif2Go macros > 27.1 Defining and invoking macros > 27.1.5 Modifying Mif2Go-supplied macro definitions


27.1.5 Modifying Mif2Go-supplied macro definitions

Sample macros are defined in macro library file m2hmacro.ini, in your Mif2Go distribution folder. You can copy this library file anywhere you want; just tell Mif2Go where to find it:

[Macros]

MacroFile = path\to\m2hmacro.ini

If you do not specify its location, Mif2Go looks for m2hmacro.ini in the project folder. See §27.1.7.1 Creating a macro library.

One sample macro is presented in §F HTML/XML configuration: a proposed definition for a spacer for indenting graphics and tables. A macro variable is suggested for use with this macro (see §27.2 Using macro variables):

[Spacer]

<img src="1p.gif" height="10" width="<$$spacerwidth>" alt="[spacer]">

[MacroVariables]

spacerwidth=80

You can copy these definitions into your configuration file, and modify them as you wish.



27 Working with Mif2Go macros > 27.1 Defining and invoking macros > 27.1.5 Modifying Mif2Go-supplied macro definitions