m4_define(_Start_TOC,
 m4_define(
 m4_define(
 m4_define(
 m4_define(
 m4_divert(1)')

m4_define(_H1,
 m4_define(
 m4_define(
 m4_define(
 m4_define(
 m4_divert(0)<LI><A HREF="#_H1_num. $1">_H1_num.
$1</A>
 m4_divert(1)<A NAME="_H1_num. $1">
 <H2>_H1_num. $1</H2></A>')
.
.
[definitions for _H2, _H3 and _H4 are similar and are
in the downloadable version of stdlib.m4]
.
.

m4_define(_End_TOC,`4_divert(0)</UL><P>')