From 58c0482a192f2d7e83e1f09b09e00dd6e3d3b6cd Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Thu, 12 Mar 2009 22:33:55 +0000 Subject: [PATCH] Rewrite toc templates to support an empty toc or populated toc in all permitted contexts. Same for lot elements. This fixes bug #1595969 for HTML outputs. --- xsl/html/toc.xsl | 297 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 239 insertions(+), 58 deletions(-) diff --git a/xsl/html/toc.xsl b/xsl/html/toc.xsl index 3cd483d17..bffd2a03e 100644 --- a/xsl/html/toc.xsl +++ b/xsl/html/toc.xsl @@ -14,53 +14,144 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I don't know how to make a TOC in this context! - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + +
+
+ +
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + +
+ + +
+ + +
+
+ +
+ + + + + + + + + +
+
+ + @@ -68,14 +159,19 @@
+ - + +
- + +
@@ -87,12 +183,14 @@
+
  • +
  • @@ -100,15 +198,17 @@
    - +
    +
  • +
  • @@ -143,27 +243,108 @@
    + +
    + + +
    +
    + + +
    + + +
    +
    + + + + - - + + + + + + +
    + + +
    +
    + + + +
    +
    + + + + +
    + + + + +
    + + +
    + +
    + + + +
    - - + + + +
    + + +
    + +
    + + + +
    - - + + + + Warning: don't know what to generate for + lot that has no children. + - - + +
    + + +
    - + +
    + + +
    +
    - + -- 2.50.1