
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Paul A. Bristow Sent: Tuesday, October 08, 2013 3:55 PM To: boost@lists.boost.org Subject: Re: [boost] How to center an element in Boost QuickBook?
Will this also produce a pdf version as with other Quickbook docs?
So far, the answer to my other question is not yet.
I'm sure it's possible to do at least coloured text in pdfs, a quick search suggests:
https://lists.oasis-open.org/archives/docbook-apps/201202/msg00106.htm l
I guess we need to add something similar to the boostbook xsl.
I'll fumble with that locally and report if I get it to work.
No - I've concluded that it is treading where angels fear again. I started to copy the 'bold' emphasis in Docbook.xsl <xsl:template match="bold"> <emphasis role="bold"> <xsl:apply-templates mode="annotation"/> </emphasis> </xsl:template> using the many xsl examples from googling, with <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. So I think I should leave it to an expert :-( Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com