[NTG-context] color in pdfTeX

Henning Hraban Ramm ntg-context@ntg.nl
Fri, 5 Mar 2004 16:33:30 +0100


Am Freitag, 05.03.04, um 08:21 Uhr (Europe/Zurich) schrieb pawcoo:
>>> \pdfliteral{0 1 0 0 k}
>>>  colorized text
>>> \pdfliteral{0 0 0 1 k} % come back to black
>> Seems to be currently the only way. The \pdfliteral{} primitives are
>> done between two x/y transformations, so you can't use q/Q grouping.
>> And the \pdfliteral direct{} variant doesn't help either, as it comes
>> before BT, but also _before_ ET, so grouping would be broken also.
>> Probably something to consider for a change...
>> Regards, Hartmut
>
> Ok. That doesn't hurt since I know, that there is no smarter way :-P
> Thank You for help.

You really need plain pdfTeX, do you?
Otherwise you know ConTeXt's sophisticated color commands?


Gr=FC=DFlis vom Hraban!
--=20
http://www.fiee.net/texnique/