summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2005-01-18 02:03:56 +0000
committerShaun McCance <shaunm@src.gnome.org>2005-01-18 02:03:56 +0000
commit5cee111d7789ca05a62834c8eec7f7a24febd646 (patch)
tree6776e4e1a6241290d66b17eb7efd6b8fb03b7817
parent5ddc74172b399dce468660675e3bcdad6f164867 (diff)
downloadgnome-doc-utils-5cee111d7789ca05a62834c8eec7f7a24febd646.tar.gz
- Added xsltdir variable
* gnome-doc-utils.pc.in: - Added xsltdir variable * xslt/docbook/common/db-title.xsl: - Fixed title templates to apply to $node, not .
-rw-r--r--ChangeLog8
-rw-r--r--gnome-doc-utils.pc.in11
-rw-r--r--xslt/docbook/common/db-title.xsl6
3 files changed, 17 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index b4d10da..6840017 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-01-17 Shaun McCance <shaunm@gnome.org>
+
+ * gnome-doc-utils.pc.in:
+ - Added xsltdir variable
+
+ * xslt/docbook/common/db-title.xsl:
+ - Fixed title templates to apply to $node, not .
+
2005-01-16 Shaun McCance <shaunm@gnome.org>
* xslt/docbook/utils/Makefile.am:
diff --git a/gnome-doc-utils.pc.in b/gnome-doc-utils.pc.in
index 79df20b..cda153b 100644
--- a/gnome-doc-utils.pc.in
+++ b/gnome-doc-utils.pc.in
@@ -1,11 +1,12 @@
prefix=@prefix@
datadir=@datadir@
xmldir=${datadir}/xml
-gettext=${xmldir}/gnome/xslt/common/gettext.xsl
-db2html=${xmldir}/gnome/xslt/docbook/html/db2html.xsl
-db2omf=${xmldir}/gnome/xslt/docbook/omf/db2omf.xsl
-rngdoc=${xmldir}/gnome/xslt/rngdoc/rngdoc.xsl
-xsldoc=${xmldir}/gnome/xslt/xsldoc/xsldoc.xsl
+xsltdir=${xmldir}/gnome/xslt
+gettext=${xsltdir}/common/gettext.xsl
+db2html=${xsltdir}/docbook/html/db2html.xsl
+db2omf=${xsltdir}/docbook/omf/db2omf.xsl
+rngdoc=${xsltdir}/rngdoc/rngdoc.xsl
+xsldoc=${xsltdir}/xsldoc/xsldoc.xsl
Name: gnome-doc-utils
Description: GNOME Documentation Utilities
diff --git a/xslt/docbook/common/db-title.xsl b/xslt/docbook/common/db-title.xsl
index 20e1366..39f353f 100644
--- a/xslt/docbook/common/db-title.xsl
+++ b/xslt/docbook/common/db-title.xsl
@@ -25,7 +25,7 @@
<xsl:template name="db.title">
<xsl:param name="node" select="."/>
- <xsl:apply-templates mode="db.title.mode" select="."/>
+ <xsl:apply-templates mode="db.title.mode" select="$node"/>
</xsl:template>
@@ -46,7 +46,7 @@
<xsl:template name="db.titleabbrev">
<xsl:param name="node" select="."/>
- <xsl:apply-templates mode="db.titleabbrev.mode" select="."/>
+ <xsl:apply-templates mode="db.titleabbrev.mode" select="$node"/>
</xsl:template>
@@ -67,7 +67,7 @@
<xsl:template name="db.subtitle">
<xsl:param name="node" select="."/>
- <xsl:apply-templates mode="db.subtitle.mode" select="."/>
+ <xsl:apply-templates mode="db.subtitle.mode" select="$node"/>
</xsl:template>