summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pstricks/vtex.con
blob: 430f35a50fd99c9de19dc25503fc5925e6532bad (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
73
74
%% BEGIN: pstricks.con (for VTeX)
%%
%% Configuration file for PSTricks 97
%%
%% Version 97 patch 4 (11-17-99)
%%
%% For use with VTeX PostScript driver v 6.61+
%% [MV, MK, special thanks to Denis Girou for help]
%%
%% Requires vtex.def 6.61 or newer
%%
%% For support and possible updates, check
%%      http://www.micropress-inc.com
%%

\def\pstdriver{VTeX}
{\catcode`\"=12\gdef
\pstverb#1{%
\ifnum\OpMode=1
 \special{pS*#1}%            //Raw: PDFmode only.
\else
 \special{pS: GS }%
 \special{pS: #1}%
 \special{pS: GR }%
\fi
 }}
\def\pstunit{1bp}%
\def\pstVerb#1{\special{pS: #1}}
\def\pstVerb#1{%
 \special{pS: #1}%
 }
\def\pstverbscale{SDict begin normalscale end}
\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
\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{\@colorstackfalse\vtex@pspicture}
\let\vtex@endpspicture=\endpspicture
\def\endpspicture{\vtex@endpspicture\@colorstacktrue}
% D.G. modification end
\fi
\fi

\pstcustomize
\def\tx@RotBegin{neg RotBegin }
% D.G. modification begin - Oct.  6, 1999
\def\tx@Rot{neg Rot }
% D.G. modification end

\endinput
%%
%% END: pstricks.con