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.1 Defining macros


27.1.1 Defining macros

To define a macro, create a configuration-file section for the macro, with the name of the macro as the section name. For example, to define macro $OurLogo for HTML output:

[OurLogo]

<hr /><br /><img src="logo.jpg" /><br /><hr /><br />

The content of the macro begins on the next line after the section name, and ends at the start of the next section, or at the end of the configuration file.

In this section:

§27.1.1.1 Understanding what a macro definition can include

§27.1.1.2 Understanding where you can define named macros

§27.1.1.3 Escaping special characters in macro definitions

§27.1.1.4 Managing line breaks in macro definitions

§27.1.1.5 Including comments in macro definitions

§27.1.1.6 Converting "smart quotes" in macro definitions

§27.1.1.7 Obtaining RTF code for macro definitions



27 Working with Mif2Go macros > 27.1 Defining and invoking macros > 27.1.1 Defining macros