Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 20 Providing navigation in HTML > 20.3 Including local TOCs > 20.3.3 Positioning local TOCs in HTML topics
To specify where in an HTML topic a local TOC should appear, assign a predefined local-TOC macro to one of the following:
The predefined local TOC macros are as follows:
Use predefined macro <$_lastlocaltoc>
to repeat the last local TOC generated; for example, to provide in each
subordinate topic a set of links to all sibling topics.
Note: For either of these macros to take effect, you must enable local TOCs; see §20.3.1 Directing Mif2Go to generate local TOCs.
To specify a position for a local TOC in every
HTML output file that should include a local TOC, assign predefined macro
<$_localtoc>
to a location keyword in
the [Inserts]
section. For example, to place
a local TOC at the bottom of each split file that has subordinate files:
See §18.5 Inserting HTML code in split and extract files.
Local TOC position relative to a heading
To specify a position for a local TOC with respect
to a paragraph format, assign a local-TOC macro to the format in one
of the [ParaStyleCode*]
sections. For example:
Heading1=Split Title CodeAfter
Heading2=Split Title CodeBefore
Depending on what other local-TOC settings you specify, these assignments would result in the following:
See §28.9.3 Surrounding or replacing text with code or macros.