This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: text coloring
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: text coloring
- From: kmself at ix dot netcom dot com
- Date: Fri, 05 Jan 2001 02:08:00 -0800
- References: <200101050949.KAA07868@studs3.sci.kun.nl>
on Fri, Jan 05, 2001 at 10:49:01AM +0100, E.L. Willighagen (egonw@sci.kun.nl) wrote:
>
> > > Is it possible to define the color of text in a DocBookX 4.x file?
> > > prefer not to customize the stylesheet for conversion to some other
> > > format, but prefer to fixate the color directly in Docbook.
>
> > I'm new at this myself, but my understanding is that this is a "not
> > clear on the concept" request. DocBook markup is *entirely* semantic.
> > If you want to modify the generated output, the *only* place to do so is
> > in the stylesheet.
>
> Let me rephrase my question. You're absolutely right, btw. But what is mean
> is. I want to color a specific phrase. I have a table with content and
> a notice "passed" or "failed" in it, denoting the succes of a certain test.
> (See http://jchempaint.sourceforge.net/ -> testsuite).
>
> It can be regarded similar to negative values for money on financial
> overviews... Clearly, i do not want to have all my <para> content
> colored red (or green) but just a small part.
>
> Thus, my question is, how can i achieve coloring of text different
> from 'normal' text?
I'd have to check through specific tags and such, general ideas come to
mind:
- Find an existing semantic tag which is appropriate and modify the
stylesheet to format it as desired.
- Apporpriate an existing tag for your porpose, and modify the
treatment.
- Extend docbook with a tag or attribute specifically meeting your
purposes. Note that this is no longer DocBook, then.
--
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
Evangelist, Zelerate, Inc. http://www.zelerate.org
What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
PGP signature