Debian Codegraph @

texmf-dist/doc/amstex/base/amstinst.tex

raw
1 %%% ====================================================================
2 %%% @TeX-file{
3 %%% filename = "amstinst.tex",
4 %%% version = "2.2",
5 %%% date = "2001/08/09",
6 %%% time = "18:47:33 EDT",
7 %%% checksum = "30594 415 2485 18444",
8 %%% filetype = "AMS-TeX: user documentation",
9 %%% author = "American Mathematical Society",
10 %%% copyright = "Copyright 2001 American Mathematical Society,
11 %%% all rights reserved. Copying of this file is
12 %%% authorized only if either:
13 %%% (1) you make absolutely no changes to your copy,
14 %%% including name; OR
15 %%% (2) if you do make changes, you first rename it
16 %%% to some other name.",
17 %%% address = "American Mathematical Society,
18 %%% Technical Support,
19 %%% P. O. Box 6248,
20 %%% Providence, RI 02940,
21 %%% USA",
22 %%% telephone = "401-455-4080 or (in the USA and Canada)
23 %%% 800-321-4AMS (321-4267)",
24 %%% FAX = "401-331-3842",
25 %%% email = "[email protected] (Internet)",
26 %%% codetable = "ISO/ASCII",
27 %%% keywords = "amstex, ams-tex",
28 %%% supported = "yes",
29 %%% abstract = "This file is part of the AMS-TeX distribution,
30 %%% version 2.2. It contains installation instructions.
31 %%% The file amsguide.tex inputs this file, but this
32 %%% file is also designed so that it can be processed
33 %%% separately, using only Plain TeX.",
34 %%% docstring = "The checksum field above contains a CRC-16 checksum
35 %%% as the first value, followed by the equivalent of
36 %%% the standard UNIX wc (word count) utility output of
37 %%% lines, words, and characters. This is produced by
38 %%% Robert Solovay's checksum utility.",
39 %%% }
40 %%% ====================================================================
41 %
42 % This file is input by amsguide.tex, which requires AMS-TeX 2.1 or
43 % later. However it can also be typeset separately using Plain \TeX{},
44 % means of the mechanism below: we check to see if amsppt.sty has
45 % been loaded earlier; if so, we set the catcode of the ~ character
46 % to 14 so that the following section of definitions will be ignored
47 % (since the definitions would be redundant); otherwise we set the
48 % catcode to 9 ("ignore") so that the definitions will be carried out.
49 % Several definitions differ from the ones in amsguide.tex because
50 % amsppt.sty is absent.
51 %
52 % Enclosing the definitions section within the initial \if ...
53 % \else ... \fi would be problematic because of the outerness of
54 % \head and \subhead in the amsppt documentstyle.
55 %
56 % Leave the definition of \head active; it is slightly different from
57 % the one in amsppt.sty, and gives a different result in Appendix C.
58 %
59 \expandafter\ifx\csname amsppt.sty\endcsname\relax
60 \catcode`\~=9 \else \catcode`\~=14 \let\BYE\relax \fi
61 ~ \let\BYE\bye
62 ~ \hsize=30pc \vsize=47pc
63 \def\head#1\endhead{\bigskip{\sc\noindent
64 \leftskip0pt plus.5\hsize \rightskip=\leftskip\parfillskip=0pt
65 \def\\{\break}#1\par}\nobreak\smallskip}
66 \font\sc=cmcsc10
67 ~ \def\subhead#1\endsubhead{\removelastskip\medskip{\bf\noindent
68 ~ #1\par}\nobreak\smallskip}
69 ~ \def\AmSTeX{{\the\textfont2 A\kern-.1667em%
70 ~ \lower.5ex\hbox{M}\kern-.125emS}-\TeX\spacefactor 1000 }
71 ~ \long\def\usertype#1{\smallskip
72 ~ \moveright2pc\vbox{\def\par{\crcr}\halign{%
73 ~ \setbox0\hbox{\tt##}%
74 ~ \hbox\ifdim\wd0<10pc to10pc\fi{\unhbox0\hfil}%
75 ~ \kern1pc \it $\langle$return$\rangle$\hss
76 ~ \cr#1\crcr}}%
77 ~ \smallskip}
78 ~ \def\<#1>{{\it$\langle$#1\/$\rangle$}}
79 ~ \hfuzz1pc % to suppress reporting of overfull boxes.
80 ~ \hyphenation{amsppt}
81 ~ \def\Textures{{\it Textures\/}}
82 ~ \def\AMS{American Mathematical Society}
83 ~ \def\filnam#1{{\tt\def\\{\char`\\}\ignorespaces#1\unskip}}
84 ~ \hyphenchar\tentt=-1 % to prohibit hyphenation in tt text
85 ~ \newdimen\exindent \exindent=2\parindent
86 ~ {\obeylines
87 ~ \gdef^^M{\par\penalty9999}%
88 ~ \gdef\beginexample#1{\medskip\bgroup %
89 ~ \def\~{\char`\~}\def\\{\char`\\}\def\{{\char`\{}\def\}{\char`\}}%
90 ~ \overfullrule0pt\tt\frenchspacing %
91 ~ \parindent=0pt#1\leftskip=\exindent\obeylines}
92 ~ }% end \obeylines
93 ~ \def\endexample{\endgraf\egroup\medskip}
94 ~ \def\cs#1{\leavevmode
95 ~ \skip0\lastskip\unskip\penalty0
96 ~ \ifdim\skip0>0pt \hskip\skip0\fi
97 ~ {\tt\def\{{\char`\{}\def\}{\char`\}}%
98 ~ \def\\{\char`\\}\char`\\\ignorespaces#1\unskip}}
99 ~ \newcount\rostercount
100 ~ \def\roster{\par\smallskip\begingroup \rostercount=0
101 ~ \def\par{{\endgraf}}\hangindent3pc
102 ~ \def\item{\futurelet\next\iitem}%
103 ~ \def\iitem{\ifx\next"\expandafter\iiitem
104 ~ \else\advance\rostercount 1 \iiitem"(\the\rostercount)"\fi}%
105 ~ \def\iiitem"##1"{\par \noindent\hbox to\hangindent{\hss##1\enspace}}%
106 ~ }
107 ~ \def\endroster{\par\smallskip\endgroup}
108 ~ \def\newpage{\vfil\eject}
109 \catcode126=\active % restore ~ to normal; using `\~ here wouldn't work!
110 \def\TEXMF{{\tt TEXMF}}
111
112 \head Appendix B\\ Installation Procedures\endhead
113
114 \subhead B.1. Introduction\endsubhead
115
116 The \AmSTeX{} software can be used with any implementation of \TeX{}\null.
117 Many \TeX{} distributions include \AmSTeX{}, ready to run; check the
118 documentation that came with the \TeX{} distribution you are using.
119 When a new version of \AmSTeX{} is released, all distributors are
120 notified, so if your \TeX{} system is up to date, it is likely that you
121 don't need to do anything at all.
122
123 Most up-to-date \TeX{} installations are organized according to the
124 \TeX{} Directory Structure (TDS)\null. This is a tree structure whose
125 root is identified as something like {\tt /usr/local/share/texmf} or
126 {\tt c:\char`\\sw\char`\\texmf}. In the following instructions,
127 we will use the name \TEXMF{} to identify the root directory of a
128 TDS or similar structure.
129
130 When installing a new release of \AmSTeX{}, you may want to first
131 back up your old version, if you have existing documents that use it.
132 Although new releases are intended to be backward compatible, a backup
133 provides insurance in case something goes wrong.
134
135
136 \subhead B.2. Location of \AmSTeX{} Files in a TDS Tree\endsubhead
137
138 Files in the \AmSTeX{} distribution fall into four categories:
139 files for use with \TeX{}, source files, documentation, and formats.
140 The following list shows all the files in the current distribution,
141 along with their recommended locations in a TDS tree.
142
143 \medskip
144 \begingroup
145 \obeylines\obeyspaces\tt%
146 TEXMF/
147 \ tex/amstex/base/
148 \ amstex.tex
149 \ amstex.ini
150 \ amsppt.sty
151 \ amsppt.sti
152 \ amsppt1.tex
153 \ tex/plain/amsfonts/
154 \ amssym.def
155 \ amssym.tex
156 \ source/amstex/
157 \ README
158 \ amsppt.doc
159 \ amstex.bug
160 \ doc/ams/amstex/
161 \ amsguide.tex
162 \ amsguide.ps
163 \ amsppt.faq
164 \ amstinst.tex
165 \ amstinst.ps
166 \ joyerr.tex
167 \ joyerr2.tex
168 \ \<\TeX-implementation>/formats/
169 \ amstex.fmt
170 \endgroup
171
172 \medskip
173 \noindent
174 The \AmSTeX{} distribution can be retrieved in bundled form from the
175 AMS web site, e.g., as a \filnam{.zip} or \filnam{.tar} file. In this
176 form, the files are already arranged according to the TDS structure.
177 (The format file is not included in the distribution. It is
178 platform-specific, and must be created as part of the installation;
179 see below.) To install the collection from a TDS-formatted bundle,
180 place the bundled file into a convenient directory and unpack it using
181 the \TEXMF{} directory as the ``Extract to'' target. Some examples:
182
183 \halign{\quad#\hfil\quad & #\hfil \cr
184 WinZip: & Click on ``Extract'' and then in the ``Extract to'' box, enter\cr
185 & {\tt\char`\\sw\char`\\texmf}\quad (or whatever TEXMF is on your
186 system)\cr
187 gzip: & {\tt gzip -dc amstex.tgz \char`\|\ (cd TEXMF; tar xvf -)}\cr
188 unzip: & {\tt unzip amstex2.zip -d TEXMF}\cr
189 }
190
191 \noindent
192 The bundled file may be deleted after unpacking.
193
194 If the files are obtained from CTAN (where they are mirrored from
195 the AMS server), they are not in TDS order. Use the above list to
196 place the files into the proper location.
197
198 Note: If you currently have any of the following files from very old
199 releases of \AmSTeX{}, delete them before installing the new release.
200 They are either irrelevant or superseded in the new version of \AmSTeX{},
201 and it is best to remove them to avoid confusion. If you back up your
202 existing \AmSTeX{} files before installing the new version, these files
203 should be included.
204
205 \settabs4\columns {\tt
206 \+\ \ amsfil.chg& amsplain.tex& amsppt.mor& amstex.chg\cr
207 \+\ \ cyracc.def& cyrmemo.def& cyrmemo.tex& amsplain.fmt\cr
208 }
209
210 \medskip
211 The TFM files for some of AMSFonts 2.2 (\filnam{msam*}, \filnam{msbm*},
212 and \filnam{eufm*}) are needed to run \AmSTeX{} with the AMSPPT
213 document style, even if you don't plan to actually print anything using the
214 AMSFonts. (These fonts {\it are} needed to process and print the User's
215 Guide of which this appendix is a part.) TFM files are available from the
216 AMS web site, \filnam{www.ams.org/tex/amsfonts.html}, or by anonymous FTP
217 from \filnam{ftp.ams.org}. They should be placed in the directory
218 \filnam{TEXMF/fonts/tfm/ams/}.
219
220
221 \subhead B.3. What if Your \TeX{} System Isn't in a TDS Tree?\endsubhead
222
223 If your \TeX{} system is arranged in some other way, you must consult
224 the user documentation for guidance. The hints that follow are just
225 that---hints. If your \TeX{} system documentation recommends something
226 different, you should follow that procedure.
227
228 We recommend placing \AmSTeX{} files into distinct subdirectories or
229 folders, to simplify installation of future versions.
230
231 First, determine where \TeX{} will look for files to be input. If
232 \filnam{amstex.tex} and \filnam{amssym.def} are already present, place
233 the files listed in section B.2 under {\tt tex/amstex/base/} and
234 {\tt tex/plain/amsfonts/} into those same areas. If neither of these
235 files is already present, look for the file \filnam{plain.tex}.
236 Create appropriate subdirectories under the area where you find this
237 file for the new \AmSTeX{} files.
238
239 If there isn't any obvious place to put source or documentation files
240 (the ones listed in section B.2 under {\tt source/amstex/} and
241 {\tt doc/ams/amstex/}), you can put them in with the input files.
242 Consult the documentation for your \TeX{} distribution.
243
244 Once all the files are installed, you are ready to create a format
245 file.
246
247
248 \subhead B.4. Creating a Format File\endsubhead
249
250 Every implementation of \TeX{} uses format files to preload the macros,
251 fonts, and hyphenation patterns that define basic user environments
252 such as \AmSTeX. Although it is not strictly necessary to use a
253 format file for \AmSTeX, preloading will save startup time, especially
254 on slower systems. Note: Each format file takes up 150K--300K of
255 disk space (depending on your \TeX{} implementation).
256
257 If your \TeX{} system already includes the format file \filnam{amstex.fmt},
258 you may not have to create a new one; recent changes to \filnam{amstex.tex}
259 are cosmetic, and will not affect any math formatting features.
260 If the AMSPPT preprint style has been included in the format, then a new
261 format file is in order. (We recommend using the name \filnam{amsppt.fmt}
262 for a format file with AMSPPT preloaded so that there is no question which
263 is present; see below.)
264
265 Creating a format file (also known as ``initialization'') requires a
266 special version of \TeX, a particular switch, or item in a menu.
267 Read the documentation for your \TeX{} distribution to learn how to
268 create a format file.
269
270 Before creating your format file, you will want to consider whether you
271 habitually use the AMSPPT document style. If you use other document styles
272 rarely or never, then you would benefit from the use of a format file with
273 \filnam{amsppt.sty} preloaded. If you are likely to use other document styles
274 periodically, then you probably do not want to preload \filnam{amsppt.sty}.
275 To make a simple \AmSTeX{} format file, proceed with the next paragraph.
276 To make a format file with \filnam{amsppt.sty} preloaded, edit the file
277 \filnam{amstex.ini} and remove the percent sign (comment character) at the
278 beginning of the line {\tt\char`\%}\cs{documentstyle\{amsppt\}}, just before
279 the \cs{dump} command. Save this file with the name \filnam{amsppt.ini}.
280
281 If you intend to use Type~1 outline versions of AMSFonts, read Appendix~C
282 before proceeding. Users of \Textures{} will have to comment out one more
283 \cs{input} statement; read the instructions.
284
285 Update the file name database (if one is used) so that \TeX{} will be able
286 to find \filnam{amstex.ini} (or \filnam{amsppt.ini}) and the other files.
287 This may be done by a command such as {\tt texhash} or via a menu option.
288 Consult the documentation for your \TeX{} distribution for instructions
289 on how to perform this update.
290
291 Now run the ``initialization'' version of \TeX{} on \filnam{amstex.ini}
292 (or \filnam{amsppt.ini}). This will create an \AmSTeX{} format file named
293 \filnam{amstex.fmt} (or \filnam{amsppt.fmt}). Some implementations of
294 \TeX{} will automatically place the format file in the proper directory;
295 otherwise you should move this file manually into the \TeX{} formats
296 directory. Once again update the file name database to make the format
297 file visible to \TeX{}.
298
299
300 \subhead B.5. Using \AmSTeX{} 2.0+\endsubhead
301
302 With some \TeX{} implementations, a format file can be specified by preceding
303 its name with an ampersand:
304
305 \usertype{tex \&amstex filename}
306
307 Other implementations treat the name of the format file as a command:
308
309 \usertype{amstex filename}
310
311 Still other implementations allow the installation of this name as a
312 menu option. For details of how to use format files with your
313 implementation of \TeX{}, see your documentation.
314
315
316 \subhead B.5. Getting a printed copy of the User's Guide \endsubhead
317
318 The \AmSTeX{} User's Guide can be obtained as a PDF file from the AMS
319 web site. It is also included in the distribution as a PostScript file,
320 ready to print (\filnam{amsguide.ps}). Or, you can use your newly
321 created \AmSTeX{} or AMSPPT format file to typeset the file
322 \filnam{amsguide.tex}; even if you print out this guide from another
323 source, we recommend using the file \filnam{amsguide.tex} as a test
324 to make sure that your newly installed \AmSTeX{} is working properly.
325
326
327 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
328
329 \newpage
330 \csname firstpage\string @true\endcsname
331
332 \head Appendix C\\ Before Installing \AmSTeX: Facts About Fonts\endhead
333
334 \subhead C.1. Using AMSFonts in PostScript Type~1 Form\endsubhead
335
336 The AMSFonts Version~2.2 have been converted to PostScript Type~1 outlines
337 in two forms:
338
339 The AMS web site ({\tt www.ams.org/tex/type1-fonts.html}) holds the
340 canonical distribution. This is a collection containing all the
341 typefaces, but only in 5, 7, and 10 point sizes; other sizes must be created
342 by scaling. The \AmSTeX{} preprint style provides a way for authors to
343 indicate that fonts should be loaded under this alternative scaling
344 convention. If you are using this version of AMSFonts, insert the line
345 \cs{PSAMSFonts} in the preamble of your file, before the \cs{topmatter}
346 line; see section C.3, below, for instructions on making this your local
347 default.
348
349 Basil Malyshev has created a collection, called BaKoMa, containing the
350 Computer Modern fonts as well as all sizes of the AMSFonts used in
351 mathematics, but excluding the \filnam{wncy*} cyrillic fonts. The BaKoMa
352 fonts can be used with no special action; however, for papers or monographs
353 to be published by the AMS, \cs{PSAMSFonts} should be specified.
354
355
356 \subhead C.2. Using AMS Symbol Fonts\endsubhead
357
358 The preprint style automatically loads the Fraktur font (\filnam{eufm}) and
359 both fonts of extra symbols (\filnam{msam} and \filnam{msbm}), as well as
360 all the symbol names, as described in the sections {\bf Fonts} and
361 {\bf Symbol Names}. If these will not be used, and you want a version of
362 \filnam{amsppt.sty} that requires less memory than the default version, you
363 can suppress the loading of these resources. If \filnam{amsppt.sty} is to
364 be included in your format file, you must make this change before creating
365 the format file. See the next section for instructions.
366
367 \subhead C.3 Setting Local Default Options\endsubhead
368
369 An ``initialization file'', \filnam{amsppt.sti}, contains settings for
370 some options that a user may wish to change locally. This file is read
371 in automatically by \filnam{amsppt.sty}.
372
373 Two lines in \filnam{amsppt.sti} affect the inclusion of AMS symbol fonts:
374 \beginexample{}
375 \\loadeufm \\loadmsam \\loadmsbm
376 \\message\{symbol names\}\\UseAMSsymbols\\message\{,\}
377 \endexample
378 \noindent
379 To use \filnam{amsppt.sty} without AMSFonts, comment out both lines (place
380 a {\tt\char`\%} at the beginning of each line); to disable just the symbol
381 names, comment out the second line. In either case, remove the {\tt\char`\%}
382 sign from the beginning of the line
383 \beginexample{}
384 \%\\define\\square\{\\vrule width.6em height.5em depth.1em\\relax\}
385 \endexample
386 \noindent
387 This is required for using \cs{qed} to indicate end of proof.
388 Extra math symbols can be loaded on demand with \cs{newsymbol} or by
389 including \cs{UseAMSsymbols} in the preamble of a particular document.
390
391 In order to make the Type~1 versions of the AMSFonts as distributed from
392 the AMS web site your local default, activate the line
393 \beginexample{}
394 \%\\PSAMSFonts
395 \endexample
396 \noindent
397 by removing the {\tt\char`\%} sign from the beginning of the line.
398
399
400 \BYE % This is = \relax if this file is input by amsguide.tex
401 %% \CharacterTable
402 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
403 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
404 %% Digits \0\1\2\3\4\5\6\7\8\9
405 %% Exclamation \! Double quote \" Hash (number) \#
406 %% Dollar \$ Percent \% Ampersand \&
407 %% Acute accent \' Left paren \( Right paren \)
408 %% Asterisk \* Plus \+ Comma \,
409 %% Minus \- Point \. Solidus \/
410 %% Colon \: Semicolon \; Less than \<
411 %% Equals \= Greater than \> Question mark \?
412 %% Commercial at \@ Left bracket \[ Backslash \\
413 %% Right bracket \] Circumflex \^ Underscore \_
414 %% Grave accent \` Left brace \{ Vertical bar \|
415 %% Right brace \} Tilde \~}