version 1.2, 2001/02/25 17:28:39
|
version 1.4, 2001/12/13 14:53:23
|
|
|
# | # |
# GAWK Program to extract all of the @name entities from | # GAWK Program to extract all of the @name entities from |
# the document and |
# the document and create a table of contents page. |
|
# This file analyzes all of the files pointed to by the top |
|
# level file in the document structure. |
# | # |
BEGIN { | BEGIN { |
level = 0 | level = 0 |
|
|
is = "" | is = "" |
lv = 0 | lv = 0 |
# Print the TOC Header | # Print the TOC Header |
print "<html>" |
# print "<html>" |
print "<head>" |
#print "<head>" |
print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">" |
#print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">" |
print "<meta name=\"GENERATOR\" content=\"Microsoft FrontPage 4.0\">" |
#print "<title>PegasusDocumentTOC</title>" |
print "<meta name=\"ProgId\" content=\"FrontPage.Editor.Document\">" |
#print "<base target=\"main\">" |
print "<title>PegasusDocumentTOC</title>" |
#print "</head>" |
print "<base target=\"main\">" |
#print "<body bgcolor=\"#FF9966\">" |
print "</head>" |
print "<p align=\"center\"><img border=\"0\" src=\"/pegasus/images/pegicon2.gif\" width=\"100\" height=\"100\"></p>" |
print "<body bgcolor=\"#FF9966\">" |
|
print "<p align=\"center\"><img border=\"0\" src=\"pegicon2.GIF\" width=\"100\" height=\"100\"></p>" |
|
print "<p> </p>" | print "<p> </p>" |
print "<p><b><font size=\"5\">Contents</font></b></p>" | print "<p><b><font size=\"5\">Contents</font></b></p>" |
print "<TABLE>" | print "<TABLE>" |
|
|
#print "<LI><I><A HREF=\"toc.html\">Alphabetic index</A></I>" | #print "<LI><I><A HREF=\"toc.html\">Alphabetic index</A></I>" |
print "<LI><I><A HREF=\"HIER.html\">Hierarchy of classes</A></I>" | print "<LI><I><A HREF=\"HIER.html\">Hierarchy of classes</A></I>" |
print "</UL>" | print "</UL>" |
print "</body>" |
# print "</body>" |
print "</html>" |
# print "</html>" |
} | } |
# | # |
# functions | # functions |