From: Bob Stayton Date: Thu, 12 Mar 2009 17:40:50 +0000 (+0000) Subject: Rewrite toc templates to support an empty toc or populated toc X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10a4b9c3e128ad40954af2f0bf516d63950ab719;p=docbook-dsssl Rewrite toc templates to support an empty toc or populated toc in all permitted contexts. Same for lot elements. This fixes bug #1595969 for FO outputs. --- diff --git a/xsl/fo/toc.xsl b/xsl/fo/toc.xsl index adee5711a..61d548650 100644 --- a/xsl/fo/toc.xsl +++ b/xsl/fo/toc.xsl @@ -15,168 +15,147 @@ - + - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - + + + + - - + + + + - - + + + + - - - - - - - I don't know how to make a TOC in this context! - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -187,7 +166,7 @@ - + @@ -244,31 +223,110 @@ + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + - - + + + + Warning: don't know what to generate for + lot that has no children. + - - + + + + - + + + + + - +