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 05:20:08

> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Paul A. Bristow
> Sent: Tuesday, October 08, 2013 3:55 PM
> To: boost_at_[hidden]
> 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:
> >
> >
> > 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"/>

using the many xsl examples from googling, with

  <xsl:template match="phrase[@role='red']">
    <fo:inline color="red">

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 A. Bristow,
Prizet Farmhouse, Kendal LA8 8AB  UK
+44 1539 561830  07714330204

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