]> granicus.if.org Git - docbook-dsssl/commitdiff
Bibliography in article shouldn't be centered. This stuff really must be refactored...
authorJirka Kosek <jirka@kosek.cz>
Fri, 8 Jul 2005 09:40:49 +0000 (09:40 +0000)
committerJirka Kosek <jirka@kosek.cz>
Fri, 8 Jul 2005 09:40:49 +0000 (09:40 +0000)
xsl/params/component.title.properties.xml

index 75b9000bd283ae8b952d83670aae92bfacf3a2f5..db972e73a18a8d0dbc920aa9e02fbe890e245392 100644 (file)
@@ -21,7 +21,7 @@
   <xsl:attribute name="hyphenate">false</xsl:attribute>
   <xsl:attribute name="text-align">
     <xsl:choose>
-      <xsl:when test="((parent::article | parent::articleinfo) and not(ancestor::book))
+      <xsl:when test="((parent::article | parent::articleinfo) and not(ancestor::book) and not(self::bibliography))
                      or (parent::slides | parent::slidesinfo)">center</xsl:when>
       <xsl:otherwise>left</xsl:otherwise>
     </xsl:choose>