Ignore:
Timestamp:
01/07/2005 05:14:15 AM (17 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
d8dc77a
Parents:
bad8b53
Message:

Update stylesheets and fix Python references

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

File:
1 edited

Legend:

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

    rbad8b53 r3fe8b51  
    11<?xml version='1.0' encoding='ISO-8859-1'?>
    2 
    3 <!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org> -->
    42
    53<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    75                version="1.0">
    86
    9         <!-- Use graphics in admonitions -->
     7    <!-- Use graphics in admonitions -->
    108  <xsl:param name="admon.graphics" select="1"/>
    119  <xsl:param name="admon.graphics.path">../images/</xsl:param>
    1210  <xsl:param name="admon.graphics.extension" select="'.png'"/>
    1311
    14         <!-- Changing the output tagging -->
     12    <!-- Changing the output tagging -->
    1513  <xsl:template name="graphical.admonition">
    1614    <xsl:variable name="admon.type">
     
    2422      </xsl:choose>
    2523    </xsl:variable>
    26     <div class="admonition">
    27         <div class ="admonhead">
    28         <img alt="[{$admon.type}]">
     24    <xsl:variable name="alt">
     25      <xsl:call-template name="gentext">
     26        <xsl:with-param name="key" select="$admon.type"/>
     27      </xsl:call-template>
     28    </xsl:variable>
     29    <div class="{name(.)}">
     30      <div class ="admonhead">
     31        <img alt="[{$alt}]">
    2932          <xsl:attribute name="src">
    3033            <xsl:call-template name="admon.graphic"/>
    3134          </xsl:attribute>
    3235        </img>
    33         <h3 class="{name(.)}">
    34           <xsl:value-of select="$admon.type"/>
    35           <xsl:if test="title">
    36             <xsl:text>: </xsl:text>
    37             <xsl:value-of select="title"/>
    38           </xsl:if>
     36        <h3 class="admontitle">
     37          <xsl:apply-templates select="." mode="object.title.markup"/>
    3938        </h3>
    4039      </div>
    4140      <div class="admonbody">
    42                                 <xsl:apply-templates/>
     41        <xsl:apply-templates/>
    4342      </div>
    4443    </div>
Note: See TracChangeset for help on using the changeset viewer.