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] Font family in table content: how to change?


Rather than guess at the names of the stylesheet parameters and attribute
sets, you should read the doc that is available:

http://docbook.sourceforge.net/release/xsl/current/doc/fo/

You want the 'table.properties' attribute-set.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Steve Whitlatch" <swhitlat@getnet.net>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, January 28, 2004 9:12 PM
Subject: [docbook-apps] Font family in table content: how to change?


> Hello,
>
> I'm trying to set the font-family for both headers and cells in
> tables, using an xsl customization stylesheet.
>
> I tried several things and thought for sure that the following would
> work:
> ***************
>  <xsl:attribute-set name="table.content.properties">
>   <xsl:attribute name="font-family">$sans.font.family</xsl:attribute>
> </xsl:attribute-set>
> ***************
>
> But no. Perhaps there is no such attribute. The tables keep using the
> body font, and FOP generates a storm of the following font-related
> error messages for each table:
> **************
> [ERROR] unknown font ZapfDingbats,normal,bold so defaulted font to any
> [ERROR] unknown font ZapfDingbats,italic,normal so defaulted font to
> any
> [ERROR] unknown font ZapfDingbats,normal,bold so defaulted font to any
> .
> .
> .
> **************
>
> How can I set the font-family used in tables (both heads and cells)
> and correct the errors? Also, why is DocBook+DocBook_XSL trying to
> use ZapfDingbats somehow in connection with tables? It must be some
> default.
>
> Thanks,
>
> Steve Whitlatch
>
>
>
> 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]