[jsword-svn] bibledesktop/resource/xsl/cswing s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Mon Jun 6 10:09:34 MST 2005


Update of /cvs/jsword/bibledesktop/resource/xsl/cswing
In directory www.crosswire.org:/tmp/cvs-serv17301/resource/xsl/cswing

Modified Files:
	simple.xsl 
Log Message:
Still working on Java 1.5 html rendering 

Index: simple.xsl
===================================================================
RCS file: /cvs/jsword/bibledesktop/resource/xsl/cswing/simple.xsl,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** simple.xsl	4 Jun 2005 22:01:36 -0000	1.21
--- simple.xsl	6 Jun 2005 17:09:32 -0000	1.22
***************
*** 120,124 ****
            h3 { font-size: 110%; color: #666699; font-weight: bold; }
            h2 { font-size: 115%; color: #669966; font-weight: bold; }
!           div.margin { font-size: 90%; }
          </style>
        </head>
--- 120,126 ----
            h3 { font-size: 110%; color: #666699; font-weight: bold; }
            h2 { font-size: 115%; color: #669966; font-weight: bold; }
!           div.margin { font-size:90%; }
!           TD.notes { width:100px; background:#f4f4e8; }
!           TD.text { }
          </style>
        </head>
***************
*** 129,138 ****
              <xsl:choose>
                <xsl:when test="$direction != 'rtl'">
! 	            <table cols="2" cellpadding="5" cellspacing="5" width="100%">
  	              <tr>
! 	                <td valign="top" style="width:80%">
  	                  <xsl:apply-templates/>
  	                </td>
! 	                <td valign="top" style="background:#f4f4e8; width:20%">
  	                  <p>&#160;</p>
  	                  <xsl:apply-templates select="//verse" mode="print-notes"/>
--- 131,140 ----
              <xsl:choose>
                <xsl:when test="$direction != 'rtl'">
! 	            <table cols="2" cellpadding="5" cellspacing="5">
  	              <tr>
! 	                <td valign="top" class="text">
  	                  <xsl:apply-templates/>
  	                </td>
! 	                <td valign="top" class="notes">
  	                  <p>&#160;</p>
  	                  <xsl:apply-templates select="//verse" mode="print-notes"/>
***************
*** 143,154 ****
                <xsl:otherwise>
                  <!-- reverse the table for Right to Left languages -->
! 	            <table cols="2" cellpadding="5" cellspacing="5" width="100%">
  	              <!-- In a right to left, the alignment should be reversed too -->
  	              <tr align="right">
! 	                <td valign="top" style="background:#f4f4e8; width:20%">
  	                  <p>&#160;</p>
  	                  <xsl:apply-templates select="//note" mode="print-notes"/>
  	                </td>
! 	                <td valign="top" style="width:80%">
  	                  <xsl:apply-templates/>
  	                </td>
--- 145,156 ----
                <xsl:otherwise>
                  <!-- reverse the table for Right to Left languages -->
! 	            <table cols="2" cellpadding="5" cellspacing="5">
  	              <!-- In a right to left, the alignment should be reversed too -->
  	              <tr align="right">
! 	                <td valign="top" class="notes">
  	                  <p>&#160;</p>
  	                  <xsl:apply-templates select="//note" mode="print-notes"/>
  	                </td>
! 	                <td valign="top" class="text">
  	                  <xsl:apply-templates/>
  	                </td>



More information about the jsword-svn mailing list