Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e396cf

Browse files
committed
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.
1 parent 5ea20d5 commit 3e396cf

1 file changed

Lines changed: 33 additions & 23 deletions

File tree

Doc/ref/ref.wml

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ INCLUDE <list2.wml>
1515

1616
PARAGRAPH "1Heading" TYPE Heading
1717
{
18-
USES "L6H1-NodeLower"
19-
}
18+
USES "L2H2"
19+
}
20+
2021

2122

2223
PARAGRAPH "1Heading*" TYPE Heading
@@ -57,8 +58,9 @@ PARAGRAPH "1StepLev3" TYPE List
5758

5859
PARAGRAPH "2Heading" TYPE Heading
5960
{
60-
USES "L7H1-NodeLower"
61-
}
61+
USES "L3H3"
62+
}
63+
6264

6365

6466
PARAGRAPH "2Heading*" TYPE Heading
@@ -75,8 +77,9 @@ PARAGRAPH "2HeadingTOC" TYPE Normal
7577

7678
PARAGRAPH "3Heading" TYPE Heading
7779
{
78-
USES "L8H1-NodeLower"
79-
}
80+
USES "L4H4"
81+
}
82+
8083

8184

8285
PARAGRAPH "3Heading*" TYPE Heading
@@ -99,8 +102,9 @@ PARAGRAPH "3Level" TYPE Normal
99102

100103
PARAGRAPH "4Heading" TYPE Heading
101104
{
102-
USES "L9H1-NodeLower"
103-
}
105+
USES "L5H5"
106+
}
107+
104108

105109

106110
PARAGRAPH "4Heading*" TYPE Heading
@@ -223,10 +227,11 @@ PARAGRAPH "Center" TYPE Normal
223227
}
224228

225229

226-
PARAGRAPH "Chapter" TYPE Normal
230+
PARAGRAPH "Chapter" TYPE Heading
227231
{
228-
USES "L2H1-NodeLower"
229-
}
232+
USES "L1H1HR-NodeTop"
233+
}
234+
230235

231236

232237
PARAGRAPH "Chapter*" TYPE Heading
@@ -355,9 +360,9 @@ PARAGRAPH "HangIndentLev3" TYPE Normal
355360
}
356361

357362

358-
PARAGRAPH "Header" TYPE Normal
363+
PARAGRAPH "Header" TYPE Heading
359364
{
360-
USES "FMDocumentTitle"
365+
USES "L14H4"
361366
}
362367

363368

@@ -475,9 +480,9 @@ PARAGRAPH "Table" TYPE Normal
475480
}
476481

477482

478-
PARAGRAPH "Title" TYPE Heading
483+
PARAGRAPH "Title" TYPE Normal
479484
{
480-
USES "L2H1-NodeLower"
485+
USES "FMDocumentTitle"
481486
}
482487

483488

@@ -535,6 +540,18 @@ PARAGRAPH "Type 17IX" TYPE Normal
535540
}
536541

537542

543+
PARAGRAPH "WWW-IX" TYPE Heading
544+
{
545+
USES "IndexHeadingL-IndexNodeL"
546+
}
547+
548+
549+
PARAGRAPH "WWW-TOC" TYPE Heading
550+
{
551+
USES "ExtTOCHeading-TocNode"
552+
}
553+
554+
538555
CHARACTER { TAG "Code" MAP CODE }
539556

540557

@@ -550,11 +567,4 @@ CHARACTER { TAG "EquationVariables" MAP ITALIC }
550567
CHARACTER { TAG "InitialCaps" MAP UNDERLINE }
551568

552569

553-
CHARACTER { TAG "Strong" MAP BOLD }
554-
555-
556-
PARAGRAPH "WWW-TOC" TYPE Heading
557-
{
558-
USES "ExtTOCHeading-TocNode"
559-
}
560-
570+
CHARACTER { TAG "Strong" MAP BOLD }

0 commit comments

Comments
 (0)