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.4 Using predefined macros


27.1.4 Using predefined macros

Mif2Go provides several predefined macros for HTML, listed in Table 27-1. Avoid giving any of your own macros a name that starts with an underscore; the Mif2Go definition takes precedence. The "$" says "this is a Mif2Go construct"; the "_" says "the name is reserved, not one of yours".

Note:  

For backward compatibility Mif2Go recognizes a predefined macro name without the underscore (such as <$trail>), but only if you have not defined your own macro with the same name. Your macro definition takes precedence if there is no underscore.

Table 27-1 Predefined macros for HTML

Macro

Description

­Reference

<$_localtoc>

List of links to subordinate files (a local TOC)

19.3.3

<$_lastlocaltoc>

Copy of last local TOC generated

19.3.3

<$_madewith>

"Made with Mif2Go" label or button

12.13

<$_next>

Link to, and title of, following file

19.4

<$_prev>

Link to, and title of, preceding file

19.4

<$_seqnext>

Link to, and title of, following file in the book

19.4

<$_seqprev>

Link to, and title of, preceding file in the book

19.4

<$_trail>

Inserts a "breadcrumb trail" of links

19.2

You cannot use predefined macros in system commands. See §32.4.2.4 Executing system commands in a .bat file.



27 Working with Mif2Go macros > 27.1 Defining and invoking macros > 27.1.4 Using predefined macros