From: Michael Smith <xmldoc@users.sourceforge.net>
Date: Tue, 24 Jul 2007 06:56:52 +0000 (+0000)
Subject: Minor clean-up of abstract.notitle.enabled.xml to make it follow
X-Git-Tag: release/1.79.1~6^2~1876
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d02a7c457026fdcdad7e23145a3ecff80cc9ffd;p=docbook-dsssl

Minor clean-up of abstract.notitle.enabled.xml to make it follow
proper convention for default values for booleans. Also, added
abstract.notitle.enabled=1 to stylesheet we use for building the
reference docs for the distro (I though it was there and in fact
claimed that it was there, but, well, I guess I was
wrong/drunk/lying...)
---

diff --git a/xsl/params/abstract.notitle.enabled.xml b/xsl/params/abstract.notitle.enabled.xml
index a0d7af5d5..d932d4e87 100644
--- a/xsl/params/abstract.notitle.enabled.xml
+++ b/xsl/params/abstract.notitle.enabled.xml
@@ -12,15 +12,11 @@
 <refname>abstract.notitle.enabled</refname>
 <refpurpose>Suppress display of abstract titles?</refpurpose>
 </refnamediv>
-
 <refsynopsisdiv>
-<src:fragment xml:id="abstract.notitle.enabled.frag"><xsl:param name="abstract.notitle.enabled">0</xsl:param></src:fragment>
+  <src:fragment xml:id="abstract.notitle.enabled.frag"><xsl:param name="abstract.notitle.enabled" select="0"/></src:fragment>
 </refsynopsisdiv>
-
 <refsection><info><title>Description</title></info>
-
 <para>If non-zero, in output of the <tag>abstract</tag> element on
   titlepages, display of the abstract title is suppressed.</para>
-
 </refsection>
 </refentry>
diff --git a/xsl/tools/xsl/build/reference.xsl b/xsl/tools/xsl/build/reference.xsl
index e0bfc5dce..1d3124420 100644
--- a/xsl/tools/xsl/build/reference.xsl
+++ b/xsl/tools/xsl/build/reference.xsl
@@ -27,6 +27,7 @@
 <xsl:param name="tcg.base.url">http://www.sagehill.net/docbookxsl/</xsl:param>
 
 <!-- * standard params -->
+<xsl:param name="abstract.notitle.enabled" select="1"/>
 <xsl:param name="admon.graphics" select="0"/>
 <xsl:param name="admon.textlabel" select="0"></xsl:param>
 <xsl:param name="chunk.append"><xsl:text>&#x0a;</xsl:text></xsl:param>