[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]