Changeset a9d1a93
- Timestamp:
- 01/21/2024 09:38:15 PM (4 months ago)
- Branches:
- 12.1, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/llvm18
- Children:
- 99ab416
- Parents:
- 027e027
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/xhtml/lfs-sections.xsl
r027e027 ra9d1a93 47 47 </xsl:template> 48 48 49 <!-- part: 50 Output non sect1 child elements before the TOC 51 Output title outside of the <div> because we want to be able to 52 use it at a fixed position --> 53 <!-- The original template is in {docbook-xsl}/xhtml/divisions.xsl --> 54 <xsl:template match="part"> 55 <xsl:call-template name="id.warning"/> 56 57 <xsl:call-template name="part.titlepage"/> 58 59 <div> 60 <xsl:apply-templates select="." mode="common.html.attributes"/> 61 <xsl:call-template name="id.attribute"> 62 <xsl:with-param name="conditional" select="0"/> 63 </xsl:call-template> 64 65 <xsl:apply-templates/> 66 <xsl:variable name="toc.params"> 67 <xsl:call-template name="find.path.params"> 68 <xsl:with-param name="table" select="normalize-space($generate.toc)"/> 69 </xsl:call-template> 70 </xsl:variable> 71 <xsl:if test="not(partintro) and contains($toc.params, 'toc')"> 72 <xsl:call-template name="division.toc"/> 73 </xsl:if> 74 </div> 75 </xsl:template> 76 49 77 <!-- chapter: 50 78 Output non sect1 child elements before the TOC … … 80 108 <xsl:call-template name="process.footnotes"/> 81 109 </div> 110 </xsl:template> 111 112 <!-- appendix: 113 Output non sect1 child elements before the TOC 114 Output title before div to be able to fix the title position --> 115 <!-- The original template is in {docbook-xsl}/xhtml/components.xsl --> 116 <xsl:template match="appendix"> 117 118 <xsl:call-template name="id.warning"/> 119 120 <xsl:call-template name="appendix.titlepage"/> 121 122 <xsl:element name="div" namespace="http://www.w3.org/1999/xhtml"> 123 <xsl:call-template name="common.html.attributes"> 124 <xsl:with-param name="inherit" select="1"/> 125 </xsl:call-template> 126 <xsl:call-template name="id.attribute"> 127 <xsl:with-param name="conditional" select="0"/> 128 </xsl:call-template> 129 130 <xsl:apply-templates/> 131 132 <xsl:variable name="toc.params"> 133 <xsl:call-template name="find.path.params"> 134 <xsl:with-param name="table" select="normalize-space($generate.toc)"/> 135 </xsl:call-template> 136 </xsl:variable> 137 138 <xsl:if test="contains($toc.params, 'toc')"> 139 <xsl:call-template name="component.toc"> 140 <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> 141 </xsl:call-template> 142 </xsl:if> 143 144 </xsl:element> 82 145 </xsl:template> 83 146
Note:
See TracChangeset
for help on using the changeset viewer.