[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Row and cell color in print output
Well, this is a bit mysterious. I haven't customized the table.cell.properties template, so this is likely why I can't find my "yellow" background in the FO. However, you wrote in your book, that the row coloring works for HTML only http://sagehill.net/docbookxsl/BGtableColor.html. I've found it working the opposite way, that is, rows are colored in PDF while cells aren't. I was a bit misled by the description of the table coloring methods since it didn't work as described, especially when you consider the last paragraph of the section called "Cell background color". In addition, the last sentence of the "Background color" section clearly states that more sofisticated row coloring can be obtained by customization of the table.cell.properties template. Maybe, in my case, this opposite behavior is due to XEP not FOP? I don't know. Anyway, I'll try to play with table.cell.properties and let you know of the progress. Thanks, Zbyszek Bob Stayton wrote: > It works for me. Have you customized the table.cell.properties > template? That template actually applies the dbfo bgcolor PI to the > table cell. Do you get "yellow" on the table-cell in the fo? > > Bob Stayton > Sagehill Enterprises > DocBook Consulting > bobs@sagehill.net <mailto:bobs@sagehill.net> > > > > ----- Original Message ----- > *From:* Zbyszek Cybulski <mailto:z.cybulski@gmail.com> > *To:* DocBook Apps <mailto:docbook-apps@lists.oasis-open.org> > *Sent:* Tuesday, June 14, 2005 6:17 AM > *Subject:* [docbook-apps] Row and cell color in print output > > Hi, > > I want some table cells to have colored background. If I set the > <?dbfo bgcolor="yellow" ?> processing instruction for a table row > (after <row>), the print output shows a yellow row in a table. But > when I do it for a cell (after <entry>), it doesn't work and the > cell has no yellow background in PDF. > I use XEP 4.3 with DocBook 4.4 and XSL 1.68.1 on Windows. > > Anyone can help? > > Thanks, > -Z >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]