This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] FO: language= ?
- From: Bob Stayton <bobs at sco dot com>
- To: David Tolpin <dvd at renderx dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 24 Jun 2003 11:23:00 -0700
- Subject: Re: [docbook-apps] FO: language= ?
- References: <200306241751.h5OHpZxR004875@adat.davidashen.net>
On Tue, Jun 24, 2003 at 10:51:35PM +0500, David Tolpin wrote:
> Hi,
>
> what's the proper way to set 'language' attribute with DocBook XSL stylesheets
> for XSL FO? I've tried but failed for German (I assume the code is 'de').
>
> I need that for hyphenation to work.
You can put a lang="de" attribute in an element
that starts a page-sequence (chapter, etc) to add a
language="de" property for that page-sequence. If you
want it for the whole document, put lang="de" in the
document's root element, or set the command line parameter
l10n.gentext.language="de". Either one should put the
language="de" attribute in fo:root.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org