Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 28 Working with macros > 28.1 Defining and invoking macros > 28.1.2 Invoking a macro
To invoke a macro, insert its name, enclosed
in a <$ >
tag:
The dollar sign at the start of the tag is not valid in HTML, so it will not interfere with any real HTML (or XML) code. A space after the dollar sign is optional. When Mif2Go sees a macro name, it replaces the tag with the macro content.
value
in certain key=value
configuration
settings; see §28.9.1 Understanding where to use macros and macro variables.
Wherever you can invoke a macro, you can also supply plain HTML. You do not have to name and define strings of HTML code that you expect to include in only one place.
Mif2Go ignores the invocation of any macro for which no definition can be found, unless you specify a special debugging option; see §28.8 Debugging macros. You can take advantage of this behavior to set up a series of alternatives, then selectively enable only the ones you want for a given conversion project by renaming (or moving) macro library files. See §28.2.4 Including macro definitions in your own macro library.