This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Hyphenation never completes


It is in an infinite loop, probably.  I have found this occurs on occasion
when the alloted width for some text is not large enough.  For me, it was in
a variablelist with the term-width too narrow.  It may also happen in tables
because of the fixed column widths.  I would have thought that turning on
hyphenation would make it easier to fit text, so perhaps some other
condition causes the loop.

One thing you might try is turning hyphenation off for the document and
turning it on only for tables:

<xsl:attribute-set name="table.properties">
  <xsl:attribute name="hyphenation">true</xsl:attribute>
</xsl:attribute-set>

Of course, if the hyphenation in tables is causing the loop, this won't fix
that problem.  You might try adjusting your column widths too.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Noeldner, Craig" <noeldner@amazon.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, November 09, 2004 12:39 PM
Subject: [docbook-apps] Hyphenation never completes


Hi,

First-time poster.

We're using FOP and the DocBook FO stylesheets. In our customization file,
we cannot turn hyphenation on or the PDF rendering process goes into what
seems to be an infinite loop.

This is the only line we add:

<xsl:param name="hyphenate">true</xsl:param>

The DocBook file is roughly 1.5 MB. The longest time we've waited for the
process to finish is 14 hours.

Any ideas why the process is taking so long? Are there any tips for adding
hyphenation to table cells?

Thanks in advance,

--Craig




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]