summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/geomsty/driver.chg
blob: 6f32ef4fe1a805ebdc28c914702bb1d53c3dfe0d (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
% $Header: /u/levy/texts/geombook/RCS/dvips.chg,v 1.4 1993/01/13 15:50:36 levy Exp $


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                  %
%   DRIVER-DEPENDENT DEFINITIONS   %
%                                  %
{\catcode`\p=12 \catcode`\t=12 \gdef\read@PT#1pt{#1}}
\def\sp@topt#1#2{\psfig@dimen=#2sp \if\psfig@dimen=0pt \psfig@dimen=1sp\fi
  \edef#1{\expandafter\read@PT \the\psfig@dimen}}
\def\sp@tobp#1#2{\psfig@dimen=#2sp \if\psfig@dimen=0pt \psfig@dimen=1sp\fi
  \expandafter\@tempdima\expandafter\read@PT \the\psfig@dimen bp
  \advance\psfig@dimen-.5 \@tempdima \multiply\psfig@dimen 2
  \edef#1{\expandafter\read@PT \the\psfig@dimen}}
\def\ps@init{}
\def\ps@begin{\sp@tobp\@tempa\@p@sbbllx \sp@tobp\@tempb\@p@sbblly
  \sp@tobp\@tempc\@p@sbburx \sp@tobp\@tempd\@p@sbbury
  \sp@tobp\@tempe{\@p@swidth0} \sp@tobp\@tempf{\@p@sheight0}
  \special{PSfile=\@p@sfile\space llx=\@tempa\space lly=\@tempb\space 
     urx=\@tempc\space ury=\@tempd\space rwi=\@tempe\space rhi=\@tempf}}
% rwi is the total width, in tenths of the units used for the
% other dimensions (this is dvips's brain damage)
\def\ps@prolog{\ifmathematica\special{header=math.pro}\fi
               \ifillustrator\special{header=illustrator.pro}\fi}
\def\ps@clip{}                     %
\def\ps@include{}                  %
\def\ps@postlog{}                  %
\def\ps@end{}                      %
%                                  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% $Log: dvips.chg,v $
%Revision 1.4  1993/01/13  15:50:36  levy
%expressed things in bp (correctly)
%
%Revision 1.3  1993/01/10  02:12:09  levy
%*** empty log message ***
%
%Revision 1.2  92/06/10  12:44:13  levy
%mathematica and illustrator dependences
%
%Revision 1.10  91/11/27  16:45:26  levy
%removed path name from math.pro
%
%Revision 1.9  91/01/01  15:21:13  levy
%checked in with -k by dbae at 91.01.12.17.41.23.
%
%Revision 1.9  91/01/01  15:21:13  levy
%*** empty log message ***
%
%Revision 1.8  90/11/18  11:25:35  levy
%*** empty log message ***
%
%Revision 1.7  90/11/18  11:19:34  levy
%*** empty log message ***
%
% Revision 1.6  90/11/18  11:03:06  levy
% *** empty log message ***