[pdftex] Color stack, first try
Hans Hagen
pragma at wxs.nl
Mon Feb 17 14:35:24 CET 2003
At 01:10 PM 2/17/2003 +0100, Heiko Oberdiek wrote:
>You mean something like the following?
>
>\special{color push Black}
>\special{color pop}
>\special{color push rgb 1 0 0}
>\special{color push gray 1}
>
>And pdfTeX translates the arguments to
> Black ==> 0 g 0 G
> rgb %1 %2 %3 ==> %1 %2 %3 rg %1 %2 %3 RG
> gray %1 ==> %1 g %1 G
indeed (and forget about the Black, no reason to stack names), if i'm right
this conforms to existing methods
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma at wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
More information about the pdftex
mailing list