[pdftex] Overprint/Knockout with \pdfobj / \pdfximage

Martin Schröder ms at artcom-gmbh.de
Wed May 26 10:47:11 CEST 2004


On 2004-05-25 16:18:17 +0200, JEBs wrote:
> I know that it has something to do with the "Graphics State" 
> structure/parameter block and tried to use/activate it as \pdfobj or 
> \pdfpageattr but again, NONE of my tries returned the correct results.

> Is there anybody out there who can help me in the syntax/usage or has a 
> sample for me ?

Try this:
\immediate\pdfobj {
    << /Type /ExtGState
       /OP true
    >>
    }%
\edef\myobj{\the\pdflastobj}%
\edef\next{\global\pdfpageresources {%
    /ExtGState << /GSjeb \myobj\space 0 R >>}%
\next

And of course you need to switch on the ExtGState at the right
place.

Best regards
        Martin
-- 
               Martin Schröder, ms at artcom-gmbh.de
     ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany
          Voice +49 421 20419-44 / Fax +49 421 20419-10
                    http://www.artcom-gmbh.de



More information about the pdftex mailing list