OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: global font color change in fo output


Hi again,

Thank you very much! Great.

Having and setting a "$body.font.color"-like property
may still require additional setting of colors for eg.
tables, separator bars? Some of these seem to be
properties, $table.frame.border.color" .

Eg.:

param.xsl : 
  sidebar.properties
  table.cell.border.color
  table.frame.border.color

pagesetup.xsl:
  head.sep.rule
  head.sep.rule
  footnote-separator
  
Regards,
Etienne

 --- Bob Stayton <bobs@caldera.com> wrote: > 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 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC