This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Problems with root.properties and XEP
- From: David Tolpin <dvd at davidashen dot net>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 19 Jan 2004 18:19:23 +0400 (AMT)
- Subject: Re: [docbook-apps] Problems with root.properties and XEP
> and did
>
> <xsl:attribute-set name="root.properties">
> <xsl:attribute name="body.font.size">10pt</xsl:attribute>
> <xsl:attribute name="body.font.family">serif</xsl:attribute>
> <xsl:attribute name="line.height">normal</xsl:attribute>
> </xsl:attribute-set>
>
> Now XEP says:
>
> (document
> (validate
> {!file:/KM/usr/ziegler/LEDA/LEDATutorium/pdf/LEDATutorium.fo: line 1:
> [error] Attribute 'body.font.size' cannot occur at element 'fo:root'.}
>
> {!file:/KM/usr/ziegler/LEDA/LEDATutorium/pdf/LEDATutorium.fo: line 1:
> [error] Attribute 'body.font.family' cannot occur at element 'fo:root'.}
>
> {!file:/KM/usr/ziegler/LEDA/LEDATutorium/pdf/LEDATutorium.fo: line 1:
> [error] Attribute 'line.height' cannot occur at element 'fo:root'.}
> [validation total: 3 errors])
Bob Stayton in his book suggests that you
- set values of body.font.size, body.font.family and other stylesheet parameters in your customization layer
or
- create new attribute-set with XSL-FO properties (such as font-size font-family).
XSL FO does not have body.font.size attribute; but DocBook XSL has a parameter with
this name.
What you probably need is to add
<xsl:param name="body.font.size">10pt</xsl:param>
<xsl:param name="body.font.family">serif</xsl:param>
<xsl:param name="line.height">normal</xsl:param>
to the customization layer.
David Tolpin
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.