| 1 |
% $Id: distiller.cfg 4 2020-06-09 08:32:19Z herbert $ |
| 2 |
%% BEGIN: distiller.con (for distiller driver) |
| 3 |
%% |
| 4 |
%% Configuration file for PSTricks |
| 5 |
%% |
| 6 |
%% Version 0.01 (2008/01/24) |
| 7 |
%% |
| 8 |
%% For use with Adobes Distiller (tested with v7.0.7) |
| 9 |
%% |
| 10 |
%% COPYRIGHT 2008 by Herbert Voss, [email protected]. |
| 11 |
%% |
| 12 |
%% This program can be redistributed and/or modified under the terms |
| 13 |
%% of the LaTeX Project Public License Distributed from CTAN |
| 14 |
%% archives in directory macros/latex/base/lppl.txt. |
| 15 |
% |
| 16 |
\def\pstdriver{distiller} |
| 17 |
{\catcode`\"=12\gdef\pstverb#1{\special{" #1}}} % Check catcode of " |
| 18 |
\def\pstunit{1bp}% |
| 19 |
\def\pstVerb#1{\special{ps: #1}} |
| 20 |
\def\pstverbscale{SDict begin normalscale end} |
| 21 |
\def\pstnodescale{}% not needed for pdftex |
| 22 |
\ifx\textsuperscript\@undefined |
| 23 |
\def\pstheader#1{\special{header=#1}} |
| 24 |
\else |
| 25 |
\ifx\Gin@PS@file@header\@undefined |
| 26 |
\def\pstheader#1{\AtBeginDvi{\special{header=#1}}} |
| 27 |
\else |
| 28 |
\let\pstheader\Gin@PS@file@header |
| 29 |
\fi |
| 30 |
\fi |
| 31 |
%% In the following, CP is short for currentpoint. |
| 32 |
%% The neg is necessary because dvips scales the coordinates by 1 -1. |
| 33 |
%% \tx@NET means neg exch neg exch translate. |
| 34 |
\def\pstrotate{CP CP translate 3 -1 roll neg rotate \tx@NET} |
| 35 |
% |
| 36 |
\pst@def{setTransparency}< |
| 37 |
[ /BM/Normal |
| 38 |
/ca \psk@opacityalpha |
| 39 |
/CA \psk@opacityalpha /SetTransparency pdfmark > |
| 40 |
\pst@def{setStrokeTransparency}< |
| 41 |
[ /BM/Normal |
| 42 |
/ca \psk@strokeopacityalpha |
| 43 |
/CA \psk@strokeopacityalpha /SetTransparency pdfmark > |
| 44 |
\pst@def{setBlendmode}< |
| 45 |
[ /BM\ifcase\psk@blendmode% |
| 46 |
/Normal \or |
| 47 |
/Compatible %\or |
| 48 |
\else /Normal |
| 49 |
/Screen \or |
| 50 |
/Multiply %\or |
| 51 |
% /Hardlight |
| 52 |
\fi/ca \psk@shapealpha /CA \psk@opacityalpha /SetTransparency pdfmark > |
| 53 |
%% |
| 54 |
%% ****************** END distiller.con ***************************** |
| 55 |
|
| 56 |
%%%%%%%%%%%%%%%%%%% !! CUSTOMIZATION STUFF GOES HERE: !! %%%%%%%%%%%%%%%%%% |
| 57 |
%% If you want to include your own customizations to pstricks.tex, then |
| 58 |
%% uncomment the \pstcustomize command, and include your modifications |
| 59 |
%% after \pstcustomize. These will be read in after pstricks.tex. |
| 60 |
%\pstcustomize |
| 61 |
% |
| 62 |
\endinput |
| 63 |
%% |
| 64 |
%% END: distiller.con |