% $Id: distiller.cfg 4 2020-06-09 08:32:19Z herbert $
%% BEGIN: distiller.con (for distiller driver)
%%
%% Configuration file for PSTricks
%%
%% Version 0.01 (2008/01/24)
%%
%% For use with Adobes Distiller (tested with v7.0.7)
%%
%% COPYRIGHT 2008 by Herbert Voss, hvoss@tug.org.
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt.
%
\def\pstdriver{distiller}
{\catcode`\"=12\gdef\pstverb#1{\special{" #1}}}  % Check catcode of "
\def\pstunit{1bp}%
\def\pstVerb#1{\special{ps: #1}}
\def\pstverbscale{SDict begin normalscale end}
\def\pstnodescale{}%  not needed for pdftex
\ifx\textsuperscript\@undefined
   \def\pstheader#1{\special{header=#1}}
\else
  \ifx\Gin@PS@file@header\@undefined
    \def\pstheader#1{\AtBeginDvi{\special{header=#1}}}
  \else
    \let\pstheader\Gin@PS@file@header
  \fi
\fi
%% In the following, CP is short for currentpoint.
%% The neg is necessary because dvips scales the coordinates by 1 -1.
%% \tx@NET means neg exch neg exch translate.
\def\pstrotate{CP CP translate 3 -1 roll neg rotate \tx@NET}
%
\pst@def{setTransparency}<
 [ /BM/Normal 
   /ca \psk@opacityalpha 
   /CA \psk@opacityalpha /SetTransparency pdfmark >
\pst@def{setStrokeTransparency}<
 [ /BM/Normal 
   /ca \psk@strokeopacityalpha 
   /CA \psk@strokeopacityalpha /SetTransparency pdfmark >
\pst@def{setBlendmode}<
  [ /BM\ifcase\psk@blendmode%
      /Normal \or
      /Compatible %\or
     \else /Normal
      /Screen \or
      /Multiply %\or
%      /Hardlight
    \fi/ca \psk@shapealpha /CA \psk@opacityalpha /SetTransparency pdfmark >
%%
%% ****************** END distiller.con *****************************

%%%%%%%%%%%%%%%%%%% !! CUSTOMIZATION STUFF GOES HERE: !! %%%%%%%%%%%%%%%%%%
%% If you want to include your own customizations to pstricks.tex, then
%% uncomment the \pstcustomize command, and include your modifications
%% after \pstcustomize. These will be read in after pstricks.tex.
%\pstcustomize
%
\endinput
%%
%% END: distiller.con
