summaryrefslogtreecommitdiff
path: root/usergrps/uktug/baskervi/6_2/spqr/pst-code.tex
blob: 72d19d14ccf1a5297434725dbc7984ee81337987 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
%% BEGIN: pst-code.tex
%%
%% For printing documented code for PSTricks.
%%
%% COPYRIGHT 1993, by Timothy Van Zandt, tvz@Princeton.EDU
%%
%% This LaTeX file inputs pstricks.doc and pst-node.doc,
%% and prints the documented code.
%%
%% You must also have Frank Mittelbach's
%%     doc.sty and gind.ist
%% (available from rusmv1.rus.uni-stuttgart.de), as well as my
%%     tvz-hax.sty, tvz-code.sty and fancybox.sty
%% (distributed with PSTricks).
%%
%% gind.ist is for the index. I.e.,
%%            makeindex -s gind.ist pst-code.idx
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Change these for a4 paper:
\def\paperwidth{8.5in}
\def\paperheight{11in}

\documentstyle{tvz-code}

\def\fileversion{0.93a}
\def\filedate{93/03/12}

% Comment out to suppress generation of .idx file. Speeds things up.
% \MakeIndex

% Include to suppress checksums for drafts:
\def\StopEventually#1{\let\Finale\relax}

\makeatletter

%%%%%%%%%%%%%%%%%%% More DoNotIndex for pst-code %%%%%%%%%%%%%%%
\DoNotIndex{\pst@dima,\pst@dimb,\pst@dimc,\pst@dimd,\pst@dimg,\pst@cnta,%
\pst@cntb,\pst@cntc,\pst@cntg,\pst@tempa,\pst@tempb,\pst@tempc,\pst@tempd,%
\pst@tempg,\pst@boxa,\pst@boxg,\if@pst,\@psttrue,\@pstfalse}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\makeatother

\MakeShortVerb\"

\ShortMeta

\def\n#1{{\tt \string#1}}

\newbox\junkbox
\def\DocInput#1{%
  \MakePercentIgnore
  \setbox\junkbox=\hbox\bgroup
    \input{#1}%
  \MakePercentComment}
\let\EndDocPreamble\egroup

\begin{document}

\def\thetitle{PSTricks: Documented Code}

\begin{titlepage}

\let\footnotesize\small
\let\footnoterule\relax
\setcounter{page}{0}

\null
\vfil
\vskip 25pt

\begin{center}

  {\LARGE\bf PSTricks}:\\[5pt]
  {\large\bf PostScript macros for Generic TeX}\\[7pt]
  {\LARGE\bf\em Documented Code}\par

  \vskip 3em

  {\large \lineskip .75em Timothy Van Zandt}%
    \thanks{%
      Author's address:
      Department of Economics, Princeton University,
      Princeton, NJ 08544-1021, USA. Internet: {\tt tvz@Princeton.EDU}}%
    \par

  \vskip 1.5em

  {\large \thefiledate\\[2pt] Version \fileversion}\par

\end{center}

\par

\makeatletter\@thanks\makeatother

\vfil

PSTricks is a collection of PostScript macros that is compatible with most
\TeX\ macro packages, including Plain \TeX\ and \LaTeX. Included are macros
for color, graphics, rotation and overlays.

This is the documented code. There is also a {\em User's Guide} and a read-me
file.

\vfil
\null

\end{titlepage}

\setcounter{footnote}{0}
\pagenumbering{roman}
\tableofcontents
\clearpage
\pagenumbering{arabic}

\StopEventually{}
\DocInput{pstricks.doc}
\Finale
\clearpage

\StopEventually{}
\DocInput{pst-node.doc}
\Finale
\clearpage

\DeleteShortMeta

\PrintIndex

\end{document}

%% END pst-code.tex