From 10a4b9c3e128ad40954af2f0bf516d63950ab719 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Thu, 12 Mar 2009 17:40:50 +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 FO outputs. --- xsl/fo/toc.xsl | 392 ++++++++++++++++++++++++++++--------------------- 1 file changed, 225 insertions(+), 167 deletions(-) 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. + - - + + + + - + + + + + - + -- 2.40.0