avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon/src/documentation/stylesheets docbook2body.xsl
Date Wed, 03 Apr 2002 18:30:18 GMT
hammant     02/04/03 10:30:18

  Modified:    src/documentation/stylesheets docbook2body.xsl
  Log:
  bug fix to indent of sections
  
  Revision  Changes    Path
  1.12      +12 -1     jakarta-avalon/src/documentation/stylesheets/docbook2body.xsl
  
  Index: docbook2body.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/documentation/stylesheets/docbook2body.xsl,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- docbook2body.xsl	2 Apr 2002 16:26:53 -0000	1.11
  +++ docbook2body.xsl	3 Apr 2002 18:30:18 -0000	1.12
  @@ -214,13 +214,24 @@
   
       <div align="right">
         <table border="0" cellpadding="2" cellspacing="0">
  +            <xsl:attribute name="width">
  +              <xsl:choose>
  +                <xsl:when test="number($level)=1">100%</xsl:when>
  +                <xsl:when test="number($level)=2">99%</xsl:when>
  +                <xsl:otherwise>98%</xsl:otherwise>
  +              </xsl:choose>
  +            </xsl:attribute>      
  +        <!--
  +        This does not work for S3+
           <xsl:attribute name="width"><xsl:value-of select="number(100)-(1*(number($level)-1))"/>%</xsl:attribute>
  +        -->
           <tr>
             <td bgcolor="#bbccdd">
               <xsl:attribute name="bgcolor">
                 <xsl:choose>
                   <xsl:when test="number($level)=1">bbccdd</xsl:when>
  -                <xsl:otherwise>ddeeff</xsl:otherwise>
  +                <xsl:when test="number($level)=2">ddeeff</xsl:when>
  +                <xsl:otherwise>e8f8ff</xsl:otherwise>
                 </xsl:choose>
               </xsl:attribute>
               <font color="#000000" face="arial,helvetica,sanserif">
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message