From: Bob Stayton Date: Thu, 19 Apr 2012 18:42:11 +0000 (+0000) Subject: Fix TOC processing for topic element. X-Git-Tag: release/1.79.1~6^2~478 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfbb49ce76a1713e4a472c185228deee774016c5;p=docbook-dsssl Fix TOC processing for topic element. --- diff --git a/xsl/fo/autotoc.xsl b/xsl/fo/autotoc.xsl index e6aa17454..04e44060f 100644 --- a/xsl/fo/autotoc.xsl +++ b/xsl/fo/autotoc.xsl @@ -69,6 +69,7 @@ |$toc-context/chapter |$toc-context/appendix |$toc-context/article + |$toc-context/topic |$toc-context/bibliography |$toc-context/glossary |$toc-context/index"/> @@ -110,7 +111,7 @@ @@ -390,7 +391,7 @@ + |reference|part|article|topic|appendix|index"/> @@ -461,7 +462,7 @@ @@ -718,7 +719,15 @@ - + + + + + + + + + diff --git a/xsl/fo/component.xsl b/xsl/fo/component.xsl index ed42ec99e..3a066326f 100644 --- a/xsl/fo/component.xsl +++ b/xsl/fo/component.xsl @@ -926,11 +926,23 @@ + + + - - + + + + + + + + + + + diff --git a/xsl/fo/fop1.xsl b/xsl/fo/fop1.xsl index 46d18b948..9cea9ce84 100644 --- a/xsl/fo/fop1.xsl +++ b/xsl/fo/fop1.xsl @@ -28,7 +28,7 @@ @@ -99,7 +99,7 @@ <subtitle diff --git a/xsl/fo/xep.xsl b/xsl/fo/xep.xsl index 4e89d4219..782ab378e 100644 --- a/xsl/fo/xep.xsl +++ b/xsl/fo/xep.xsl @@ -112,7 +112,7 @@ </xsl:template> <xsl:template match="set|book|part|reference|preface|chapter|appendix|article - |glossary|bibliography|index|setindex + |glossary|bibliography|index|setindex|topic |refentry|refsynopsisdiv |refsect1|refsect2|refsect3|refsection |sect1|sect2|sect3|sect4|sect5|section" @@ -152,7 +152,7 @@ </xsl:variable> <xsl:if test="contains($toc.params, 'toc') and set|book|part|reference|section|sect1|refentry - |article|bibliography|glossary|chapter + |article|topic|bibliography|glossary|chapter |appendix"> <rx:bookmark internal-destination="toc...{$id}"> <rx:bookmark-label>