This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[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