This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Font family in table content: how to change?
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: <swhitlat at getnet dot net>, <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 29 Jan 2004 09:58:28 -0800
- Subject: Re: [docbook-apps] Font family in table content: how to change?
- References: <200401282212.41789.swhitlat@getnet.net>
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/.