From 4f37e925d847b4fd9ea2e90dde6344447999e2fb Mon Sep 17 00:00:00 2001 From: dhilvert Date: Fri, 6 Oct 2006 05:31:00 +0000 Subject: [PATCH] doc: Make table of contents output more flexible. This re-introduces the indentation bug. darcs-hash:20061006053134-789c2-6fca78378e71943c30fe461d3b33ec2bb87aa9d0.gz --- doc/Makefile | 9 ++++++--- doc/ale-doc.xsl | 14 ++++++++++---- doc/package/todo/index.xml | 10 ++++++++++ 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 8bac5fe..5734e46 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -271,7 +271,7 @@ FO_CUSTOM := 3in \ 1 \ 1 \ - 1 \ + 2 \ 2 \ 1 \ \ @@ -289,6 +289,7 @@ FO_CUSTOM := \ blue \ \ + \ \ \ \ @@ -365,8 +366,9 @@ HTML_CUSTOM := 1 \ 1 \ 1 \ - 1 \ + 2 \ 2 \ + \ \ appendix toc,title \ article/appendix nop \ @@ -406,8 +408,9 @@ CHNK_CUSTOM := 1 \ 1 \ 1 \ - 1 \ + 2 \ 2 \ + \ \ appendix toc,title \ article/appendix nop \ diff --git a/doc/ale-doc.xsl b/doc/ale-doc.xsl index 2e19efa..2b58788 100644 --- a/doc/ale-doc.xsl +++ b/doc/ale-doc.xsl @@ -526,7 +526,7 @@ -
+
@@ -557,8 +557,10 @@ - Release --> - -
+ + +
+ @@ -594,7 +596,11 @@ </xsl:template> <xsl:template match="changelog"> - <xsl:apply-templates select="release"/> + <xsl:for-each select="release"> + <xsl:call-template name="release"> + <xsl:with-param name="label" select="count(../release) - position()"/> + </xsl:call-template> + </xsl:for-each> </xsl:template> <!-- diff --git a/doc/package/todo/index.xml b/doc/package/todo/index.xml index 432589c..adaee19 100644 --- a/doc/package/todo/index.xml +++ b/doc/package/todo/index.xml @@ -14,6 +14,7 @@ <section><title>0.8.5 (pre-Beta) + This release may be combined with the 0.9.0 Beta release.
@@ -226,6 +227,15 @@ Unsorted + +
+ + Documentation + +
  • Generate correctly indented book-level tables of contents when rendering +the complete set of manuals. +
+
Integer-value routines -- 2.11.4.GIT