This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] shade contente of <note|caution|> elements in fop
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Jens Skripczynski" <skripi-lists at myrealbox dot com>
- Cc: <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 22 Mar 2004 10:08:45 -0800
- Subject: Re: [docbook-apps] shade contente of <note|caution|> elements in fop
- References: <20040322022045.GA25622@shadowland.intern.shadowbyte.net>
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
bobs@sagehill.net
----- Original Message -----
From: "Jens Skripczynski" <skripi-lists@myrealbox.com>
To: "Jens Skripczynski" <skripi-lists@myrealbox.com>
Cc: <docbook-apps@lists.oasis-open.org>
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
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/.