Changeset 027e027 for stylesheets/lfs-xsl/xhtml
- Timestamp:
- 01/21/2024 09:35:48 PM (8 months ago)
- Branches:
- 12.1, 12.2, gimp3, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128
- Children:
- a9d1a93
- Parents:
- 07fda1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/xhtml/lfs-sections.xsl
r07fda1c r027e027 12 12 13 13 <!-- preface: 14 Output non sect1 child elements before the TOC --> 14 Output non sect1 child elements before the TOC 15 Output title outside of the <div> because we want to be able to 16 use it at a fixed position --> 15 17 <!-- The original template is in {docbook-xsl}/xhtml/components.xsl --> 16 18 <xsl:template match="preface"> 17 19 <xsl:call-template name="id.warning"/> 20 <xsl:call-template name="preface.titlepage"/> 21 <xsl:call-template name="component.separator"/> 18 22 <div> 19 23 <xsl:apply-templates select="." mode="class.attribute"/> … … 27 31 </xsl:attribute> 28 32 </xsl:if> 29 <xsl:call-template name="component.separator"/>30 <xsl:call-template name="preface.titlepage"/>31 33 <xsl:apply-templates/> 32 34 <xsl:variable name="toc.params"> … … 46 48 47 49 <!-- chapter: 48 Output non sect1 child elements before the TOC --> 50 Output non sect1 child elements before the TOC 51 Output title before div to be able to fix the title position --> 49 52 <!-- The original template is in {docbook-xsl}/xhtml/components.xsl --> 50 53 <xsl:template match="chapter"> 51 54 <xsl:call-template name="id.warning"/> 55 <xsl:call-template name="chapter.titlepage"/> 56 <xsl:call-template name="component.separator"/> 52 57 <div> 53 58 <xsl:apply-templates select="." mode="class.attribute"/> … … 61 66 </xsl:attribute> 62 67 </xsl:if> 63 <xsl:call-template name="component.separator"/>64 <xsl:call-template name="chapter.titlepage"/>65 68 <xsl:apply-templates/> 66 69 <xsl:variable name="toc.params"> … … 82 85 When there is a role attibute, use it as the class value. 83 86 Process the SVN keywords found in sect1info as a footnote. 87 Output title before the containing <div> so that the title 88 can be at a fixed position. 84 89 Removed unused code. --> 85 90 <!-- The original template is in {docbook-xsl}/xhtml/sections.xsl --> 86 91 <xsl:template match="sect1"> 92 <xsl:call-template name="sect1.titlepage"/> 87 93 <div> 88 94 <xsl:choose> … … 97 103 </xsl:choose> 98 104 <xsl:call-template name="language.attribute"/> 99 <xsl:call-template name="sect1.titlepage"/>100 105 <xsl:apply-templates/> 101 106 <xsl:apply-templates select="sect1info" mode="svn-keys"/>
Note:
See TracChangeset
for help on using the changeset viewer.