Commit Graph

21 Commits

Author SHA1 Message Date
Alex Schroeder
7fd2b4e626 (TocRule): AddHtmlEnvironment('p') 2004-12-05 04:03:32 +00:00
Alex Schroeder
6c1031f316 (TocRule): Reset $PortraitSupportColor after
headers.
2004-12-03 08:43:33 +00:00
Alex Schroeder
8ef12c6dae ($MyColorDiv): Renamed to $PortraitSupportColorDiv. 2004-11-27 21:25:07 +00:00
Alex Schroeder
1db3c5a6e3 (TocRule): Added PortraitSupportColorDiv support. 2004-11-27 21:18:02 +00:00
Alex Schroeder
55814931f3 ($TocCounter): New variable.
(TocRule): Use it to provide an ID to the toc entry.
(TocWikiHeading): Deleted.
(TocHeadings): Use ID instead of encoded text.
2004-11-27 00:57:15 +00:00
Alex Schroeder
14a6f07b89 (TocWikiHeading): Don't UrlEncode the anchor name. 2004-11-25 19:49:32 +00:00
Alex Schroeder
b37840e6e3 (TocHeadings, TocWikiHeading): Use FreeToNormal
on the anchor name.
2004-11-25 19:09:54 +00:00
Alex Schroeder
35336195df whitespace 2004-11-01 03:22:46 +00:00
Alex Schroeder
9d563dc0f3 perltidy -pt=2 -ce -b toc.pl 2004-10-31 19:34:15 +00:00
Alex Schroeder
2338a0ae1f (TocHeadings): Removed debugging info. 2004-10-31 19:31:01 +00:00
Alex Schroeder
216ec1b401 (TocRule): Call TocWikiHeading instead of
WikiHeading.
(TocHeadings): If the first subtitle is a H1, assume that this is
the "start".
2004-10-31 19:20:45 +00:00
Alex Schroeder
ecb65aea56 toc.pl now plays nicely with usemod.pl. Copied headings code from
usemod.pl.
Now there is a difference between h1 and h2 in the toc.
----------------------------------------------------------------------
2004-10-31 17:58:26 +00:00
Alex Schroeder
a481d986a2 (TocHeadings): Quote text in TOC. 2004-08-06 11:50:58 +00:00
Alex Schroeder
3755050fda Set %RuleOrder, use a normal rule instead of overwriting functionality
in usemod.pl.
2004-07-14 14:55:56 +00:00
Alex Schroeder
527c862213 (TocHeadings): Return nothing if two headings or
less.
2004-04-03 10:51:21 +00:00
Alex Schroeder
33d934cbb8 bugfixes 2004-03-12 11:17:33 +00:00
Alex Schroeder
33af8d59c6 escaping nowiki, pre, and code is non-greedy now. 2004-03-12 11:05:21 +00:00
Alex Schroeder
a41f9f210c NewTocWikiHeading 2004-02-09 20:41:36 +00:00
Alex Schroeder
4816eb65ee added linking 2004-02-09 20:38:40 +00:00
Alex Schroeder
1986b4fcab OldTocGetHeader 2004-02-09 20:31:19 +00:00
Alex Schroeder
b3f4c32f31 new 2004-02-09 20:25:16 +00:00