[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: text coloring
--RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable on Fri, Jan 05, 2001 at 10:49:01AM +0100, E.L. Willighagen (egonw@sci.kun.n= l) wrote: >=20 > > > 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. >=20 > > 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. >=20 > Let me rephrase my question. You're absolutely right, btw. But what is me= an > 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 tes= t. > (See http://jchempaint.sourceforge.net/ -> testsuite). >=20 > 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. >=20 > 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. --=20 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 --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6VZ0AOEeIn1XyubARAt0MAKCB/EjdAAPmdAQpMFcPzS0DmslYcACfSuap cxDekvLvC91/DdgOr2Tj5hQ= =l5Bd -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS--
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC