groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Inserting raw PostScript output


From: Gaius Mulley
Subject: Re: [Groff] Inserting raw PostScript output
Date: Fri, 11 Oct 2002 10:31:36 +0100

> What I do is define strings such as
>
>  .ds BLUE \X'ps: exec 0 0 1 setrgbcolor
>  .ds BLACK \X'ps: exec 1 1 1 setrgbcolor
>
> and then you have no formatting problems if you do
>
>  This will change to \*[BLUE]blue-coloured text and then
>  \*[BLACK]back to black text.

another way to achieve colour is to use the new groff commands:

.defcolor blue rgb 0.0f 0.0f 1.0f

\m[blue]blue-coloured text\mP and back to the default colour

Gaius

reply via email to

[Prev in Thread] Current Thread [Next in Thread]