Lines Matching refs:toc
53 struct { char *text; int type; int line; } toc[MAXTOC];
411 toc[tocc].text = r;
412 toc[tocc].type = type;
413 toc[tocc].line = line;
1334 printf("<a href='#toc'>%s</a><p>\n", TABLEOFCONTENTS);
1349 printf("<a name='toc'><b>%s</b></a><p>\n", TABLEOFCONTENTS);
1351 for (i=0, lasttoc=BEGINSECTION; i<tocc; lasttoc=toc[i].type, i++) {
1352 if (lasttoc!=toc[i].type) {
1353 if (toc[i].type==BEGINSUBSECTION) printf("<ul>\n");
1356 printf("<li><a name='toc%d' href='#sect%d'>%s</a></li>\n", i, i, toc[i].text);
1373 printf("\n<h2><a name='sect%d' href='#toc%d'>", tocc, tocc);
1380 printf("\n<h3><a name='sect%d' href='#toc%d'>", tocc, tocc);
1858 printf("<A NAME=\"toc\"><B>%s</B></A><P>\n", TABLEOFCONTENTS);
1860 for (i=0, lasttoc=BEGINSECTION; i<tocc; lasttoc=toc[i].type, i++) {
1861 if (lasttoc!=toc[i].type) {
1862 if (toc[i].type==BEGINSUBSECTION) printf("<UL>\n");
1865 printf("<LI><A NAME=\"toc%d\" HREF=\"#sect%d\">%s</A></LI>\n", i, i, toc[i].text);
1883 /*A NAME=\"sect%d\" HREF=\"#toc%d\"><H2>", tocc, tocc);*/
1891 /*\n<A NAME=\"sect%d\" HREF=\"#toc%d\"><H3>", tocc, tocc);*/