[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Coloured text

Subject: Re: Coloured text
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Sun, 22 May 2005 10:39:23 +0100
coloured text
On Sun, 2005-05-22 at 07:44 +0100, Peter Robertson wrote:
>  This must have been asked thousands of times because it is so obvious, yet
> everyuting I can find about it is so cryptic as to be useless.
> 
> How in docbook (generating PDF) can I get coloured text? Colour is clearly
> available as admonitions and table borders can be coloured, but I have found
> no way to make an arbitrary phrase a different colour from the surrounding
> text.
> 
> I am using Oxygen + Saxon 5.3.

1. Try it in Saxon 6.5.3 (or is that a typo)
2. Have a look at the xsl-fo you are generating.
  on a block, color for the foreground text is set as
   fo:block color="red"
   Is that what you are generating?
3. Docbook stylesheets handle style, not docbook itself.
   Find the appropriate template in your docbook distro
   and either modify it directly, or find the attribute set to modify.
4. Docbook questions are perhaps more appropriate on the docbook-apps
list at Oasis.

http://www.oasis-open.org/docbook/mailinglist/


-- 
Regards, 

Dave Pawson
XSLT + Docbook FAQ
http://www.dpawson.co.uk

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.