Peter Brooks wrote: > > It does look as though background-color is supported by FOP (I can change > the declaration for sidebar.title in block.xsl to include, say, > background-color="red" and it comes through XFC into the PDF for the sidebar > title) but so far I haven't quite worked out how to apply the > background-color to the whole sidebar element.
I just changed line #108 of $XFC_HOME/xsl/docbook/fo/block.xsl into <fo:block background-color="#d3d3d3"> and it works fine for PDF output. It doesn't work for RTF output though, because it turns out that XFC doesn't handle the 'background-color' property correctly in the case of nested blocks. This will be fixed in the next release. Hope this helps, -- Jean-Yves Belmonte <john at pixware.fr> - Pixware <http://www.pixware.fr> Le Capricorne - 23 rue Colbert - 78180 Montigny-le-Bretonneux - France voice: +33 (0)1.30.60.07.00 - fax: +33 (0)1.30.96.05.23

