summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-06 00:38:30 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-06 00:38:30 (GMT)
commit3e396cf9ff846c893ece164f5c83ecd98e4bb4ed (patch)
tree047dd43f2fe5dd9911c68a6bc6109f407b31b07e
parent5ea20d52c7c9fc9cf9c89089ea21bdf23bc3f29c (diff)
downloadcpython-3e396cf9ff846c893ece164f5c83ecd98e4bb4ed.zip
cpython-3e396cf9ff846c893ece164f5c83ecd98e4bb4ed.tar.gz
cpython-3e396cf9ff846c893ece164f5c83ecd98e4bb4ed.tar.bz2
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.
-rw-r--r--Doc/ref/ref.wml56
1 files changed, 33 insertions, 23 deletions
diff --git a/Doc/ref/ref.wml b/Doc/ref/ref.wml
index 864f29f..3c51c8e 100644
--- a/Doc/ref/ref.wml
+++ b/Doc/ref/ref.wml
@@ -15,8 +15,9 @@ INCLUDE <list2.wml>
PARAGRAPH "1Heading" TYPE Heading
{
- USES "L6H1-NodeLower"
-}
+ USES "L2H2"
+}
+
PARAGRAPH "1Heading*" TYPE Heading
@@ -57,8 +58,9 @@ PARAGRAPH "1StepLev3" TYPE List
PARAGRAPH "2Heading" TYPE Heading
{
- USES "L7H1-NodeLower"
-}
+ USES "L3H3"
+}
+
PARAGRAPH "2Heading*" TYPE Heading
@@ -75,8 +77,9 @@ PARAGRAPH "2HeadingTOC" TYPE Normal
PARAGRAPH "3Heading" TYPE Heading
{
- USES "L8H1-NodeLower"
-}
+ USES "L4H4"
+}
+
PARAGRAPH "3Heading*" TYPE Heading
@@ -99,8 +102,9 @@ PARAGRAPH "3Level" TYPE Normal
PARAGRAPH "4Heading" TYPE Heading
{
- USES "L9H1-NodeLower"
-}
+ USES "L5H5"
+}
+
PARAGRAPH "4Heading*" TYPE Heading
@@ -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
@@ -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
}
-PARAGRAPH "Title" TYPE Heading
+PARAGRAPH "Title" TYPE Normal
{
- USES "L2H1-NodeLower"
+ USES "FMDocumentTitle"
}
@@ -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 }
@@ -550,11 +567,4 @@ CHARACTER { TAG "EquationVariables" MAP ITALIC }
CHARACTER { TAG "InitialCaps" MAP UNDERLINE }
-CHARACTER { TAG "Strong" MAP BOLD }
-
-
-PARAGRAPH "WWW-TOC" TYPE Heading
-{
- USES "ExtTOCHeading-TocNode"
-}
- \ No newline at end of file
+CHARACTER { TAG "Strong" MAP BOLD } \ No newline at end of file