summaryrefslogtreecommitdiff
path: root/xslt/docbook/common/db-xref.xsl
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2005-08-01 22:40:43 +0000
committerShaun McCance <shaunm@src.gnome.org>2005-08-01 22:40:43 +0000
commit85e225785ad64afe555203941352367877bb0833 (patch)
tree47887f9e252a6a70fde3f39c529137de8f5cfd9c /xslt/docbook/common/db-xref.xsl
parent4869a952b83e5ba9f7a95695c8917361a8bca21a (diff)
downloadgnome-doc-utils-85e225785ad64afe555203941352367877bb0833.tar.gz
- Fixed up the preface formatters
* xslt/docbook/common/db-label.xsl: * xslt/docbook/common/db-xref.xsl: * xslt/gettext/l10n.xml.in: - Fixed up the preface formatters
Diffstat (limited to 'xslt/docbook/common/db-xref.xsl')
-rw-r--r--xslt/docbook/common/db-xref.xsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/xslt/docbook/common/db-xref.xsl b/xslt/docbook/common/db-xref.xsl
index 3d85d4c..fec0bd6 100644
--- a/xslt/docbook/common/db-xref.xsl
+++ b/xslt/docbook/common/db-xref.xsl
@@ -213,6 +213,18 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
</xsl:call-template>
</xsl:template>
+<!-- = preface = -->
+<xsl:template mode="db.xref.content.mode" match="preface">
+ <xsl:param name="xrefstyle"/>
+ <xsl:param name="role" select="substring-after($xrefstyle, 'role:')"/>
+ <xsl:call-template name="l10n.gettext">
+ <xsl:with-param name="msgid" select="'preface.xref'"/>
+ <xsl:with-param name="role" select="$role"/>
+ <xsl:with-param name="node" select="."/>
+ <xsl:with-param name="format" select="true()"/>
+ </xsl:call-template>
+</xsl:template>
+
<!-- = qandaentry = -->
<xsl:template mode="db.xref.content.mode" match="qandaentry">
<xsl:param name="xrefstyle"/>