Boost logo

Boost :

Subject: Re: [boost] How to center an element in Boost QuickBook?
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2013-10-09 12:30:48

> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Daniel James
> Sent: Wednesday, October 09, 2013 11:35 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] How to center an element in Boost QuickBook?
> On 9 October 2013 10:20, Paul A. Bristow <pbristow_at_[hidden]> wrote:
> >
> > <xsl:template match="phrase[@role='red']">
> > <fo:inline color="red">
> > <xsl:apply-templates/>
> > </fo:inline>
> > </xsl:template>
> >
> > 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:

  display: inline-block; width: 100%; text-align: center;
  display: inline-block; width: 100%; text-align: right;


What other testing should I do?

When is a convenient time to commit doc/src/boostbook.css?


Boost list run by bdawes at, gregod at, cpdaniel at, john at