-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Daniel James Sent: Wednesday, October 09, 2013 11:35 AM To: boost@lists.boost.org Subject: Re: [boost] How to center an element in Boost QuickBook?
On 9 October 2013 10:20, Paul A. Bristow
wrote: but fo: isn't defined, and anyway this will require fixing on a group of colors and adding a block like this for each color, instead of passing the specified color.
It needs to be in 'fo.xsl'. The colouring for syntax highlighting is done in a similar manner in that file, so I think it should work.
As usual, you are correct. (Though I'm sure my multiple pasting is pretty brainless :-( ) I've now got glorious cool colors on both the pdf and html :-) Samples attached. How to get Niall's alignment in tables to work in pdf will need some more expert input. (OK for html). boostbook.css entry is: span.aligncenter { display: inline-block; width: 100%; text-align: center; } span.alignright { display: inline-block; width: 100%; text-align: right; } Hints? What other testing should I do? When is a convenient time to commit doc/src/boostbook.css? Paul