#### 20.3.2.4 Producing multiple-level local TOCs

By default, a local TOC includes links only to split files at the next level down: those that are immediately subordinate to the file where the local TOC appears. To include links to all subordinate split files at all levels:

[LocalTOC]

; LocalTOCSubs = No (default, include only next level below

; current para) or Yes (include all levels below current para)

LocalTOCSubs = Yes

When LocalTOCSubs=Yes, the LocalTOCItem default is changed to begin with:

<p class="loctocind<$$_loctocind>">

where the value of macro variable <$$_loctocind> is the indentation level of the item, starting with 1.

To increase indentation for each subsequent level you will need a set of CSS classes named p.loctocind1, p.loctocind2, and so forth, with increasing margin-left or text-indent values. However, if all links include autonumbers, those might serve as level indicators, and you would not need to provide indentation. In that case, you can define LocalTOCItem as you wish; see §20.3.2.3 Providing HTML code for each local-TOC entry.

Note: For this setting to take effect, you must enable local TOCs; see §20.3.1 Directing Mif2Go to generate local TOCs.

To provide a multiple-level local TOC only for the first HTML file split from a given FrameMaker file, you can use a list variable in a macro to reset the value of LocalTOCSubs after the first local TOC. For example:

[TOCstuff]

<$_localtoc><$$LocalTOC[LocalTOCSubs]=0>

See §28.4 Using multiple-value list variables.

| 20.3.2.3 Providing HTML code for each local-TOC entry |  | 20.3.2.5 Overriding default title text for a local-TOC entry |