]> granicus.if.org Git - docbook-dsssl/commitdiff
Align refnamediv title correctly when refentry.generate.title
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 1 Jun 2005 11:41:48 +0000 (11:41 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 1 Jun 2005 11:41:48 +0000 (11:41 +0000)
is non-zero (closes #1212641).

::Problem:
When refentry.generate.title is non-zero, the title output for
Refnamediv is not aligned flush left.

::Cause:
No code for setting start-indent="" was included in
refentry.title.properties. It should be in order to make the
Refnamediv title output be flush left, as are titles for all other
sectioning children of Refentry

::Fix:
Added code for setting start-indent="" in
refentry.title.properties.

xsl/params/refentry.title.properties.xml

index 2ae97e035d8a247ce077c1846133dc2df2a7661a..c0d8378cb473e86ba166005931d474f4a75c7d3b 100644 (file)
   <xsl:attribute name="space-after.optimum">0.5em</xsl:attribute>
   <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
   <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute>
+  <xsl:attribute name="start-indent"><xsl:value-of 
+                 select="$title.margin.left"/></xsl:attribute>
 </xsl:attribute-set>
 </src:fragment>
 </refsynopsisdiv>
 
 <refsect1><title>Description</title>
 
-<para>Formatting properties applied to refentry titles,
-including refnamediv, refsect1 through 3, and refsection.
-The font size is supplied by the appropriate 
-<parameter>section.level<replaceable>X</replaceable>.title.properties</parameter>
-attribute-set,
-computed from its location in the section hierarchy.
-</para>
+<para>Formatting properties applied to the title generated for the
+<sgmltag>refnamediv</sgmltag> part of output for
+<sgmltag>refentry</sgmltag> when the value of the
+<parameter>refentry.generate.title</parameter> parameter is
+non-zero. The font size is supplied by the appropriate <parameter
+>section.level<replaceable>X</replaceable>.title.properties</parameter>
+attribute-set, computed from the location of the
+<sgmltag>refentry</sgmltag> in the section hierarchy.</para>
+
+<note>
+  <para>This parameter has no effect on the the title generated for
+  the <sgmltag>refnamediv</sgmltag> part of output for
+  <sgmltag>refentry</sgmltag> when the value of the
+  <parameter>refentry.generate.name</parameter> parameter is
+  non-zero. By default, that title is formatted with the same
+  properties as the titles for all other first-level children of
+  <sgmltag>refentry</sgmltag>.</para>
+</note>
 
 </refsect1>
 </refentry>