From: <no...@so...> - 2002-09-06 19:57:39
|
Bugs item #605761, was opened at 2002-09-06 14:20 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=605761&group_id=21935 Category: DocBook XSL FO Group: None Status: Open Resolution: None Priority: 5 Submitted By: David Cramer (dcramer) Assigned to: Nobody/Anonymous (nobody) Summary: indentation of article/appendix Initial Comment: When you have an article in an appendix, the title is not indented according to title.margin.left, apparently because the templates in titlepage.template.xsl are not called for article/appendix as they are for book/appendix. For now, I've forced the issue in fo/component.xsl (And perhaps in html/component.xsl) by adding a margin-left="{$title.margin.left}" to the template below, but I imagine there's a more correct way to do it. Perhaps there should be a separate specification for article/appendix in titlepage.templates.xml? <xsl:template match="article/appendix"> <xsl:variable name="id"> <xsl:call-template name="object.id"/> </xsl:variable> <fo:block id='{$id}' margin-left="{$title.margin.left}"> <xsl:call- template name="section.heading"> <xsl:with-param name="level" select="2"/> <xsl:with-param name="title"> <xsl:apply-templates select="." mode="object.title.markup"/> </xsl:with-param> </xsl:call-template> <xsl:apply- templates/> </fo:block> </xsl:template> ---------------------------------------------------------------------- >Comment By: David Cramer (dcramer) Date: 2002-09-06 14:57 Message: Logged In: YES user_id=281721 Another, I suspect related, problem I'm seeing is that the keep-with-next on appendix titles isn't being respected. This may be an XEP specific problem. It goes away when I add a keep-together="always" (which section titles do get from titlepage-templates.xsl) to the fo:block in the template mentioned in this bug report. In any case, article/appendix needs to be looked at. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=605761&group_id=21935 |