Patches from RedHat for GNOME stylesheets.



Hi,

I'm not sure if you're all aware of this, but I used a copy of the GNOME
stylesheets that lives in gnome-docu/gdp/xsl as stylesheets to do html
conversions for GnuCash's docs module. These are presently being
distributed in the gnucash-docs-1.7.x tarballs.

Redhat has nicely put back a series of patches for GnuCash and a couple
of the patches are for the stylesheets, so I thought to send them on to
the docs team for their consideration :)

Let me know if you want me to add these to the current ones in cvs.

---
gnucash-1.7.7/gnucash-docs-1.7.7/xsl/general-customization.xsl.blarg	2003-01-15 17:34:04.000000000 -0500
+++
gnucash-1.7.7/gnucash-docs-1.7.7/xsl/general-customization.xsl	2003-01-15 17:34:09.000000000 -0500
@@ -7,7 +7,7 @@
 <!--########################Files to Include######################-->
 
 <!-- Importing the Norman Walsh's stylesheet as the basis. -->
-<xsl:import
href="http://docbook.sourceforge.net/release/xsl/1.45/html/chunk.xsl"/>
+<xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
 <!-- see NOTE ABOUT PATHS in README file for details -->
 
 <!-- Including new title page stylesheets for customizing the placement
--- gnucash-1.7.7/gnucash-docs-1.7.7/xsl/chunk-common2.xsl.foof	Thu Jan
16 00:25:07 2003
+++ gnucash-1.7.7/gnucash-docs-1.7.7/xsl/chunk-common2.xsl	Thu Jan 16
00:25:34 2003
@@ -35,14 +35,12 @@
 
   <xsl:choose>
     <xsl:when test="not($node/parent::*)">1</xsl:when>
-    <xsl:when test="$chunk.sections != 0
-                    and name($node)='sect1'
+    <xsl:when test="name($node)='sect1'
                     and ($chunk.first.sections != 0
                          or count($node/preceding-sibling::sect1) >
0)">
       <xsl:text>1</xsl:text>
     </xsl:when>
-    <xsl:when test="$chunk.sections != 0
-                    and name($node)='section'
+    <xsl:when test="name($node)='section'
                     and count($node/parent::section) = 0
                     and ($chunk.first.sections != 0
                          or
count($node/preceding-sibling::section))>0">

Chris
-- 
RedHat Certified Engineer #807302549405490.
--------------------------------------------
	|^|
	| |   |^|
	| |^| | |  Life out here is raw 
	| | |^| |  But we will never stop
	| |_|_| |  We will never quit 
	| / __> |  cause we are Metallica
	|/ /    |
	\       /
	 |     |
--------------------------------------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]