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 in NL


For hyphenation, did you check the FOP documentation:
http://xml.apache.org/fop/hyphenation.html

Regarding filling paragraphs, you want to customize the
'root.properties' attribute-set used in the DocBook FO stylesheet.
You want to set:

<xsl:attribute name="text-align">left</xsl:attribute>

The default value is 'justify', which fills out the lines.
See this reference for info on customizing the attribute-set:

http://www.sagehill.net/docbookxsl/PrintCustomEx.html#RootProperties

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Tom Peters" <tpeters@xs4all.nl>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, February 19, 2004 3:34 PM
Subject: [docbook-apps] hyphenation in NL


> Where and how is hyphenation configured and executed when rendering pages
> with fop and SAX2?  I get numerous (non-fatal) error messages like:
>
> [ERROR] Couldn't find hyphenation pattern nl
> [ERROR] Error building hyphenation tree for language nl
>
> On a related note, how can I turn off filling paragraphs out to the right?
> I don't like the internal whitespace in narrow (deeply indented)
paragraphs.
>
> Thanx,
> --
>
#>!$!%(@^%#%*(&(#@#*$^@^$##*#@&(%)@**$!(&!^(#((#&%!)%*@)(&$($$%(@#)&*!^$)^@*
^@)
>
> Tom "thriving on chaos" Peters
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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