groff
[Top][All Lists]
Advanced

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

[Groff] Inserting raw PostScript output


From: Greg 'groggy' Lehey
Subject: [Groff] Inserting raw PostScript output
Date: Thu, 10 Oct 2002 14:45:00 +0930
User-agent: Mutt/1.4i

I'm playing around with some macros to change text colour in
PostScript output from groff.  I've written the following macro:

  .de colour
  \X'ps: exec \\$1 \\$2 \\$3 setrgbcolor'
  ..

This works, up to a point.  The trouble is that it offsets the
remainder of the text by 10 points down, presumably a line space.  How
can I get rid of this?  I've tried adding a \v'-10p' to the macro, but
this has no effect.

Apart from that question, of course, there's a more obvious one: is
there a better way to do this?

Greg
--
Finger address@hidden for PGP public key
See complete headers for address and phone numbers

reply via email to

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