|
Boost : |
Subject: Re: [boost] How to center an element in Boost QuickBook?
From: Daniel James (daniel_at_[hidden])
Date: 2013-10-09 06:34:48
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk