summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vesik <sander@src.gnome.org>2002-05-20 16:02:31 +0000
committerSander Vesik <sander@src.gnome.org>2002-05-20 16:02:31 +0000
commite1cb12288b814614a2adbf9556dfc9f1398e012b (patch)
tree5a46fd6769ee9c5ec768dcf145b4cf01bd0efe7d
parent0ab4e124c55dc353e55493253e69dcd6ba8e564a (diff)
downloadyelp-e1cb12288b814614a2adbf9556dfc9f1398e012b.tar.gz
Sander Vesik <sander.vesik@sun.com
* stylesheets/yelp-custom.xsl, stylesheets/yelp-customization.xsl: introduce a new parameter and use it so images distributed with the stylesheet get picked up correctly
-rw-r--r--ChangeLog6
-rw-r--r--stylesheets/yelp-custom.xsl2
-rw-r--r--stylesheets/yelp-customization.xsl2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ff61d552..569366e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-20 Sander Vesik <sander.vesik@sun.com
+
+ * stylesheets/yelp-custom.xsl, stylesheets/yelp-customization.xsl:
+ introduce a new parameter and use it so images distributed
+ with the stylesheet get picked up correctly
+
2002-05-18 Mikael Hallendal <micke@codefactory.se>
* src/yelp-info.c (yelp_info_init):
diff --git a/stylesheets/yelp-custom.xsl b/stylesheets/yelp-custom.xsl
index 801df3fb..c3b74140 100644
--- a/stylesheets/yelp-custom.xsl
+++ b/stylesheets/yelp-custom.xsl
@@ -15,7 +15,7 @@
<xsl:param name="admon.graphics" select="1"/>
<!-- Specifies the default path for admonition graphics -->
-<xsl:param name="admon.graphics.path">./stylesheet/</xsl:param>
+<xsl:param name="admon.graphics.path"><xsl:text>file://</xsl:text><xsl:value-of select="$gdb_stylesheet_path"/><xsl:text>/images/</xsl:text></xsl:param>
<!-- Specifies the default graphic file if none is given. -->
<xsl:param name="graphic.default.extension" select="'png'" doc:type="string"/>
diff --git a/stylesheets/yelp-customization.xsl b/stylesheets/yelp-customization.xsl
index a2ba8dcb..27226dd2 100644
--- a/stylesheets/yelp-customization.xsl
+++ b/stylesheets/yelp-customization.xsl
@@ -13,6 +13,8 @@
<xsl:param name="gdb_multichunk" select="0" />
+<xsl:param name="gdb_stylesheet_path" select="'/opt/gnome-2.0/share/xml/docbook/docbook-xsl-1.48.0/'" />
+
<xsl:output encoding="ISO-8859-1" />
<!--