]> granicus.if.org Git - docbook-dsssl/commitdiff
Support article/info/title (DocBook 5.0)
authorJirka Kosek <jirka@kosek.cz>
Wed, 5 Oct 2005 15:56:04 +0000 (15:56 +0000)
committerJirka Kosek <jirka@kosek.cz>
Wed, 5 Oct 2005 15:56:04 +0000 (15:56 +0000)
xsl/params/component.title.properties.xml

index db972e73a18a8d0dbc920aa9e02fbe890e245392..0b7e0fb8e6a01aeed7184ce2a471f1772eee1237 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) and not(self::bibliography))
+      <xsl:when test="((parent::article | parent::articleinfo | parent::info/parent::article) and not(ancestor::book) and not(self::bibliography))
                      or (parent::slides | parent::slidesinfo)">center</xsl:when>
       <xsl:otherwise>left</xsl:otherwise>
     </xsl:choose>