summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pstricks/vtex.con
blob: c5016c1a27a3501ea64ab3030a13084b2af1236d (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
65
66
67
68
69
70
71
72
%% BEGIN: pstricks.con (for VTeX)
%%
%% Configuration file for PSTricks 97
%%
%% Version 97 patch 5 2003-04-29
%%
%% For use with VTeX PostScript driver v 6.61+
%% [MV, MK, special thanks to Denis Girou for help]
%%
%% Requires vtex.def 7.46 or newer, 10-14-01
%%
%% For support and possible updates, check
%%      http://www.micropress-inc.com
%%

\def\pstdriver{VTeX}
{\catcode`\"=12\gdef
\pstverb#1{%
 \special{pS*GS @beginspecial @setspecial #1 @endspecial GR }%
}}%
\def\pstunit{1bp}%
\def\pstVerb#1{\special{pS: #1}}%
\def\pstverbscale{SDict begin normalscale end}
\ifx\textsuperscript\@undefined
   \def\pstheader#1{\special{header=#1}}
\else
% D.G. modification begin - Apr. 29, 2003 - From Michael Vulis
%  \ifx\Gin@PS@file@header\@undefined
%    \def\pstheader#1{\AtBeginDvi{\special{header=#1}}}
%  \else
%    \let\pstheader\Gin@PS@file@header
%  \fi
  \def\pstheader#1{\AtBeginDvi{\immediate\special{header=#1}}}
% D.G. modification end
\fi
\def\pstrotate{CP CP translate 3 -1 roll neg rotate \tx@NET}
%%
%% ****************** END VTeX *****************************

%%%%%%%%%%%%%%%%%%% !! 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.
%
%  Some customization needed for VTeX since the coordinate system
%  is different.
\newif\if@colorstack
\ifnum\OpMode>-1
\ifnum\OpMode<3
\@colorstacktrue
% D.G. modification begin - Nov. 17, 1999
\let\vtex@pspicture=\pspicture
\def\pspicture{\special{G(}\@colorstackfalse\vtex@pspicture}%
\let\vtex@endpspicture=\endpspicture
\def\endpspicture{\vtex@endpspicture\@colorstacktrue\special{G)}%
}
% D.G. modification end
\fi
\fi

\pstcustomize
\def\tx@RotBegin{neg RotBegin }
\def\pst@rotlist{mark RAngle /a ED cleartomark a }
% D.G. modification begin - Oct.  6, 1999
\def\tx@Rot{neg Rot }
% D.G. modification end
\def\psfs@solid{\pst@fill{\pst@usecolor\psfillcolor fill }}
\def\psfs@eofill{\pst@fill{\pst@usecolor\psfillcolor eofill}}

\endinput
%%
%% END: pstricks.con