[XeTeX] How to add ExtGState to xdvipdfmx?

Zdenek Wagner zdenek.wagner at gmail.com
Sun May 13 00:35:44 CEST 2012


I have an ExtGState defined as:

  \special{pdf: object @opoff << /Type /ExtGState /op false /OP false /OPM 0 >>}
  \special{pdf: object @opon << /Type /ExtGState /op true /OP true /OPM 1 >>}
  \special{pdf: object @extgs << /GSko @opoff /GSop @opon >>}
  \special{pdf: object @ExtGS << /ExtGState @extgs >>}

These commands go to the PDF exactly as in a pdftex file which works.
Now I need to define @ExtGS in /Resources at each page where I use
/GSko or /GSop. I tried several ways but all seem to be wrong, it was
not written to the PDF file. Can someone write me how to do it?

Thanks in advance

Zdeněk Wagner

More information about the XeTeX mailing list