[texhax] Translate PS-special into PDF-special

Alex Scorpan alexscorpan at aol.com
Fri Jun 28 11:02:22 CEST 2013


> Yes, it can be translated

Spectacular.  Thank you so much.

Alex


PS:  Is it indeed OK to drop the parameters 74/-74, -2 and 61 from the original PS?


> \pdfliteral{%
>    q
>    10 0 0 10 0 0 cm
>    BI
>      /IM true%
>      /W 76%
>      /H 75%
>      /D[1 0]%
>      /F/AHx
>    ID %
> 00003e000003e000000000007f800003f800000000007f800007fc00000000007f800007%
[...snip...]
> 0ff800000001f8000000080000000001f0000000000000000001e0000000
>  EI
>  Q
>  }%
> \else
>  \special{%
>    " 0 0 moveto currentpoint translate
>    10 10 scale 76 75 true
>    [74 0 0 -74 -2 61] {%
> <00003e000003e000000000007f800003f800000000007f800007fc00000000007f800007%
[...snip...]
> 0ff800000001f8000000080000000001f0000000000000000001e0000000>%
>    } imagemask
> 
>  }%






More information about the texhax mailing list