OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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

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

----- 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)


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>

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.minimum="{$body.font.master * 0.8}pt"
            space-before.maximum="{$body.font.master * 1.2}pt"

Is it possible to overwrite the hyphenate="false" with

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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]