Re: Hypenation in narrow columns (fo stylesheet)

From
Jens Stavnstrup <>
Date
2009-12-15T21:23:10+00:00
ID
Thread
Re: Hypenation in narrow columns (fo stylesheet)
In the enclosed file, the the root element is missing the attribute lang.

The start tag should of course be <article lang="en"  ...>

However, adding this tag have no effect.

Regards

Jens

On Tue, Dec 15, 2009 at 7:24 PM, Jens Stavnstrup <> wrote:
> Hi All
>
> FOP generated PDF with FOP 0.95 or newer do not hyphenate properly
> when  transforming the enclosed DocBook file containing tables with
> narrow column.
>
> When translating the enclosed file with the plain fo/docbook.xsl
> (DocBook XSL 1.75.2) and subsequently with FOP 0.20.5 and FOP 0.95 (or
> newer), there are significat difference in the output, both in the
> header and body cells.
>
> When analyzing the generated fo code - hyphenation attributes seem to
> be set according to the standard. The only thing missing seems to be
> keep-together.within-column="always", which should be set for each
> cell according to section 3.10 of
> http://xmlgraphics.apache.org/fop/faq.html, however adding this
> attribute to each fo-table-cell of the table have no effect.
>
> I have checked all relevant parameters and extension of the DocBook
> stylesheet, but nothing seems to work.
>
> Regards
>
> Jens
>