OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] shade contente of <note|caution|> elements in fop


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/.
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]