Commit c14bf7cb authored by Guido van Rossum's avatar Guido van Rossum

New WML file, this time with working Title and Author tags, and

mapping chapter and section headings to more appropriate nodes so that
the TOC actually works.  Now generates one HTML page per chapter.
parent c3ab8b18
...@@ -15,8 +15,9 @@ INCLUDE <list2.wml> ...@@ -15,8 +15,9 @@ INCLUDE <list2.wml>
PARAGRAPH "1Heading" TYPE Heading PARAGRAPH "1Heading" TYPE Heading
{ {
USES "L6H1-NodeLower" USES "L2H2"
} }
PARAGRAPH "1Heading*" TYPE Heading PARAGRAPH "1Heading*" TYPE Heading
...@@ -57,8 +58,9 @@ PARAGRAPH "1StepLev3" TYPE List ...@@ -57,8 +58,9 @@ PARAGRAPH "1StepLev3" TYPE List
PARAGRAPH "2Heading" TYPE Heading PARAGRAPH "2Heading" TYPE Heading
{ {
USES "L7H1-NodeLower" USES "L3H3"
} }
PARAGRAPH "2Heading*" TYPE Heading PARAGRAPH "2Heading*" TYPE Heading
...@@ -75,8 +77,9 @@ PARAGRAPH "2HeadingTOC" TYPE Normal ...@@ -75,8 +77,9 @@ PARAGRAPH "2HeadingTOC" TYPE Normal
PARAGRAPH "3Heading" TYPE Heading PARAGRAPH "3Heading" TYPE Heading
{ {
USES "L8H1-NodeLower" USES "L4H4"
} }
PARAGRAPH "3Heading*" TYPE Heading PARAGRAPH "3Heading*" TYPE Heading
...@@ -99,8 +102,9 @@ PARAGRAPH "3Level" TYPE Normal ...@@ -99,8 +102,9 @@ PARAGRAPH "3Level" TYPE Normal
PARAGRAPH "4Heading" TYPE Heading PARAGRAPH "4Heading" TYPE Heading
{ {
USES "L9H1-NodeLower" USES "L5H5"
} }
PARAGRAPH "4Heading*" TYPE Heading PARAGRAPH "4Heading*" TYPE Heading
...@@ -223,10 +227,11 @@ PARAGRAPH "Center" TYPE Normal ...@@ -223,10 +227,11 @@ PARAGRAPH "Center" TYPE Normal
} }
PARAGRAPH "Chapter" TYPE Normal PARAGRAPH "Chapter" TYPE Heading
{ {
USES "L2H1-NodeLower" USES "L1H1HR-NodeTop"
} }
PARAGRAPH "Chapter*" TYPE Heading PARAGRAPH "Chapter*" TYPE Heading
...@@ -355,9 +360,9 @@ PARAGRAPH "HangIndentLev3" TYPE Normal ...@@ -355,9 +360,9 @@ PARAGRAPH "HangIndentLev3" TYPE Normal
} }
PARAGRAPH "Header" TYPE Normal PARAGRAPH "Header" TYPE Heading
{ {
USES "FMDocumentTitle" USES "L14H4"
} }
...@@ -475,9 +480,9 @@ PARAGRAPH "Table" TYPE Normal ...@@ -475,9 +480,9 @@ PARAGRAPH "Table" TYPE Normal
} }
PARAGRAPH "Title" TYPE Heading PARAGRAPH "Title" TYPE Normal
{ {
USES "L2H1-NodeLower" USES "FMDocumentTitle"
} }
...@@ -535,6 +540,18 @@ PARAGRAPH "Type 17IX" TYPE Normal ...@@ -535,6 +540,18 @@ PARAGRAPH "Type 17IX" TYPE Normal
} }
PARAGRAPH "WWW-IX" TYPE Heading
{
USES "IndexHeadingL-IndexNodeL"
}
PARAGRAPH "WWW-TOC" TYPE Heading
{
USES "ExtTOCHeading-TocNode"
}
CHARACTER { TAG "Code" MAP CODE } CHARACTER { TAG "Code" MAP CODE }
...@@ -550,11 +567,4 @@ CHARACTER { TAG "EquationVariables" MAP ITALIC } ...@@ -550,11 +567,4 @@ CHARACTER { TAG "EquationVariables" MAP ITALIC }
CHARACTER { TAG "InitialCaps" MAP UNDERLINE } CHARACTER { TAG "InitialCaps" MAP UNDERLINE }
CHARACTER { TAG "Strong" MAP BOLD } CHARACTER { TAG "Strong" MAP BOLD }
\ No newline at end of file
PARAGRAPH "WWW-TOC" TYPE Heading
{
USES "ExtTOCHeading-TocNode"
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment