Ignore:
Timestamp:
02/03/2019 06:37:53 PM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
elogind
Children:
4d176c4f
Parents:
8f6f10e
Message:

Merge to HEAD 21080.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/BOOK-elogind@21081 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/xhtml/lfs-sections.xsl

    r8f6f10e rd60cd837  
    132132  </xsl:template>
    133133
     134    <!-- sect3: treat as sect2 (for Python and Perl modules
     135           When there is a role attibute, use it as the class value.
     136           Removed unused code. -->
     137    <!-- The original template is in {docbook-xsl}/xhtml/sections.xsl -->
     138  <xsl:template match="sect3">
     139    <div>
     140      <xsl:choose>
     141        <xsl:when test="@role">
     142          <xsl:attribute name="class">
     143            <xsl:value-of select="@role"/>
     144          </xsl:attribute>
     145        </xsl:when>
     146        <xsl:otherwise>
     147          <xsl:attribute name="class">
     148            <xsl:value-of select="name(.)"/>
     149          </xsl:attribute>
     150        </xsl:otherwise>
     151      </xsl:choose>
     152      <xsl:call-template name="language.attribute"/>
     153      <xsl:call-template name="sect3.titlepage"/>
     154      <xsl:apply-templates/>
     155    </div>
     156  </xsl:template>
     157
    134158    <!-- sect1info mode svn-keys:
    135159           Self-made template to process SVN keywords found in sect1info. -->
Note: See TracChangeset for help on using the changeset viewer.