There is no stylesheet parameter to shade the background of note elements in
FO output. But it can be done with attribute-sets in a customization layer:
<xsl:attribute-set name="admonition.properties">
<xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
<xsl:attribute name="padding">0.1in</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="admonition.title.properties">
<xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
<xsl:attribute name="padding">0.1in</xsl:attribute>
</xsl:attribute-set>
Bob Stayton
Sagehill Enterprises
DocBook Consulting
----- Original Message -----
From: "Jens Skripczynski" <>
To: "Jens Skripczynski" <>
Cc: <>
Sent: Sunday, March 21, 2004 6:20 PM
Subject: [docbook-apps] shade contente of <note|caution|> elements in fop
>
> Hi,
>
> (this seems to be hidden somewhere again :( )
>
> I'm looking for an option to shade the background of my notes
> (or any similiar type).
>
> I found the option
> <xsl:param name="shade.verbatim" select="1"/>
> that works on <screen>.
>
> I googled for "docbook (shade|background gray|) note fop ..." but did
> not find anything usefull.
>
> Do I have to custumize docbook ? (Has somebody done that ?)
>
> Ciao
>
> Jens Skripczynski
> --
> E-Mail: skripi-lists(at)myrealbox(dot)com
>
> "They say if you play the Windows 2000 CD backward, you can hear satanic
words."
> "Oh, that�s nothing. If you play it forward it installs Windows 2000 ...."
>
>
> To unsubscribe from this list, send a post to
, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>