Tiny changes in docbook-xsl-newmethods.patch to work with xalan (#452867)
This commit is contained in:
parent
a6dee9c018
commit
adbe46b402
@ -1,6 +1,6 @@
|
|||||||
Name: docbook-style-xsl
|
Name: docbook-style-xsl
|
||||||
Version: 1.74.0
|
Version: 1.74.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
|
|
||||||
Summary: Norman Walsh's XSL stylesheets for DocBook XML
|
Summary: Norman Walsh's XSL stylesheets for DocBook XML
|
||||||
@ -117,6 +117,10 @@ if [ "$1" = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 06 2008 Kamil Dudka <kdudka@redhat.com> 1.74.0-2
|
||||||
|
- Tiny changes in docbook-xsl-newmethods.patch to work with xalan
|
||||||
|
(#452867)
|
||||||
|
|
||||||
* Tue Jun 03 2008 Ondrej Vasik <ovasik@redhat.com> 1.74.0-1
|
* Tue Jun 03 2008 Ondrej Vasik <ovasik@redhat.com> 1.74.0-1
|
||||||
- New upstream release 1.74.0, adapted patches
|
- New upstream release 1.74.0, adapted patches
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ diff -urNp docbook-xsl-1.72.0/html/docbook.xsl devel/html/docbook.xsl
|
|||||||
diff -urNp docbook-xsl-1.72.0/html/dtbl.xsl devel/html/dtbl.xsl
|
diff -urNp docbook-xsl-1.72.0/html/dtbl.xsl devel/html/dtbl.xsl
|
||||||
--- docbook-xsl-1.72.0/html/dtbl.xsl 1970-01-01 01:00:00.000000000 +0100
|
--- docbook-xsl-1.72.0/html/dtbl.xsl 1970-01-01 01:00:00.000000000 +0100
|
||||||
+++ devel/html/dtbl.xsl 2007-06-18 14:00:05.000000000 +0200
|
+++ devel/html/dtbl.xsl 2007-06-18 14:00:05.000000000 +0200
|
||||||
@@ -0,0 +1,292 @@
|
@@ -0,0 +1,293 @@
|
||||||
+<?xml version="1.0" encoding="US-ASCII"?>
|
+<?xml version="1.0" encoding="US-ASCII"?>
|
||||||
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
+ xmlns:exsl="http://exslt.org/common"
|
+ xmlns:exsl="http://exslt.org/common"
|
||||||
@ -201,11 +201,12 @@ diff -urNp docbook-xsl-1.72.0/html/dtbl.xsl devel/html/dtbl.xsl
|
|||||||
+</xsl:template>
|
+</xsl:template>
|
||||||
+
|
+
|
||||||
+<xsl:template match="col" mode="dtbl-correct-rounding-error">
|
+<xsl:template match="col" mode="dtbl-correct-rounding-error">
|
||||||
|
+ <xsl:param name="relative.widths.total"/>
|
||||||
+ <xsl:param name="error"/>
|
+ <xsl:param name="error"/>
|
||||||
+
|
+
|
||||||
+ <xsl:element name="col">
|
+ <xsl:element name="col">
|
||||||
+ <xsl:attribute name="width">
|
+ <xsl:attribute name="width">
|
||||||
+ <xsl:value-of select="concat(round((@relwidth div $relative.widths.total) * 100))"/>
|
+ <xsl:value-of select="concat('', round((@relwidth div $relative.widths.total) * 100))"/>
|
||||||
+ </xsl:attribute>
|
+ </xsl:attribute>
|
||||||
+ <xsl:apply-templates mode="dtbl-use-absolute-widths"/>
|
+ <xsl:apply-templates mode="dtbl-use-absolute-widths"/>
|
||||||
+ </xsl:element>
|
+ </xsl:element>
|
||||||
|
Loading…
Reference in New Issue
Block a user