[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Hyphenation in component titles (XSL-FO)
Thanks for the bug report. 8^) There is nothing wrong with your customization or your processor. When the component.title.properties attribute-set was added, the properties that were hard wired in the component.title template should have been moved to the attribute set. That's because literal attributes will override the values in the attribute-set on the same element. I just checked into CVS the fix. (I moved the properties from the component.title template to the attribute-set). If you need an immediate fix, then you will have to customize the component.title template to remove the hyphenate="false" attribute. Or get the CVS snapshot distribution at http://docbook.sourceforge.net/snapshots/ . Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Sören Kress" <sklists@gmx.de> To: <docbook-apps@lists.oasis-open.org> Sent: Thursday, November 18, 2004 8:08 AM Subject: [docbook-apps] Hyphenation in component titles (XSL-FO) Hi, some days ago I asked some things about hyphenation in component titles. I tried to turn hyphenation on by setting (as found in the docs and as recommended by replies to my previous post): <xsl:param name="hyphenate">true</xsl:param> And also: <xsl:attribute-set name="component.title.properties"> <xsl:attribute name="hyphenate">true</xsl:attribute> </xsl:attribute-set> But that did not work for chapter titles. I found the following in fo/component.xsl (docbook-xsl-1.67.0): <fo:block keep-with-next.within-column="always" space-before.optimum="{$body.font.master}pt" space-before.minimum="{$body.font.master * 0.8}pt" space-before.maximum="{$body.font.master * 1.2}pt" hyphenate="false" xsl:use-attribute-sets="component.title.properties"> Is it possible to overwrite the hyphenate="false" with xsl:use-attribute-sets? As it does not work for me - what's wrong with my customization? - is anything wrong with my XML parser? (I'm using Xerces-J 2.6.2) - or will it generally not work? Thanks for any advice Sören
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]