This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: global font color change in fo output
- From: Bob Stayton <bobs at caldera dot com>
- To: Jeff Beal <jeff dot beal at ansys dot com>
- Cc: 'Bob Stayton' <bobs at caldera dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Tue, 04 Feb 2003 14:27:52 -0800
- Subject: Re: DOCBOOK-APPS: global font color change in fo output
- References: <E08C8F26F6901D42B1201763D125853815B4E7@ntdevexc.win.ansys.com>
Well, I submitted an RFE for it.
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
On Tue, Feb 04, 2003 at 03:46:48PM -0500, Jeff Beal wrote:
> That's a good idea. Could that make it into the next release?
>
> -----Original Message-----
> From: Bob Stayton [mailto:bobs@caldera.com]
> Sent: Tuesday, February 04, 2003 1:30 PM
> To: Etienne Botha
> Cc: docbook-apps@lists.oasis-open.org
> Subject: Re: DOCBOOK-APPS: global font color change in fo output
>
>
> On Tue, Feb 04, 2003 at 11:57:55AM +0000, Etienne Botha wrote:
> > Hi,
> >
> > I am trying to create PDF with all the font colors set
> > to a non-black default value.
> >
> > At the moment, I cannot find a short way of
> > customizing all fo:block and other fo output in a
> > single place.
> >
> > Is this possible?
>
> Yes, if you set properties in the <fo:root> element,
> they apply to the whole document. You would have
> to modify the template in fo/docbook.xsl that starts
> with:
>
> <xsl:template match="/">
>
> and change:
>
> <fo:root font-family="{$body.font.family}"
> font-size="{$body.font.size}"
> color="blue" <!-- new property -->
> text-align="{$alignment}"
> line-height="{$line-height}">
>
> There really should be an attribute set that could
> be used in fo:root to set global properties like
> this without having to customize this important
> and big template.
> --
>
> 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
--
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