summaryrefslogtreecommitdiff
path: root/graphics/pstricks/base/config/distiller.cfg
blob: 9ade33121562e30cb000bacbf8a832a8b01c5624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
% $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