summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/plain/impatient/genops.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/plain/impatient/genops.tex')
-rw-r--r--Master/texmf-dist/doc/plain/impatient/genops.tex40
1 files changed, 20 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/plain/impatient/genops.tex b/Master/texmf-dist/doc/plain/impatient/genops.tex
index 46bc83a1a88..46f6e7e62cb 100644
--- a/Master/texmf-dist/doc/plain/impatient/genops.tex
+++ b/Master/texmf-dist/doc/plain/impatient/genops.tex
@@ -1,5 +1,6 @@
+% $Id: genops.tex,v 1.6 2020/01/01 23:12:25 karl Exp $
% This is part of the book TeX for the Impatient.
-% Copyright (C) 2003 Paul W. Abrahams, Kathryn A. Hargreaves, Karl Berry.
+% Copyright (C) 2003-2020 Paul W. Abrahams, Kathryn A. Hargreaves, Karl Berry.
% See file fdl.tex for copying conditions.
\input macros
@@ -128,17 +129,17 @@ If you want to change these parameters locally, you'll need to
save and restore their original settings explicitly.
\example
Here's a line printed normally.\par
-\fontdimen2\font = 3\fontdimen2\font
-% Triple the interword spacing.
+\dimen0=\fontdimen2\font
+\fontdimen2\font=3\fontdimen2\font % triple word spacing
\noindent Here's a really spaced-out line.
+\fontdimen2\font=\dimen0
|
\produces
Here's a line printed normally.\par
-\dimen0 = \fontdimen2\font % to undo global assignment
-\fontdimen2\font = 3\fontdimen2\font
-% triple the interword spacing
+\dimen0=\fontdimen2\font
+\fontdimen2\font=3\fontdimen2\font % triple word spacing
\noindent Here's a really spaced-out line.
-\fontdimen2\font = \dimen0
+\fontdimen2\font=\dimen0
\endexample
\enddesc
@@ -317,13 +318,13 @@ It is a number such as $1991$.
These commands produce the name and version number
of the \TeX\ format,
e.g., \minref{\plainTeX} or ^{\LaTeX}, that you're using.
+The |\fmtversion| string contains a long list of supported languages,
+so is omitted here.
\example
-This book was produced with the \fmtname\ format,
-version~\fmtversion.
+This book was produced with the \fmtname\ format.
|
\produces
-This book was produced with the \fmtname\ format,
-version~\fmtversion.
+This book was produced with the \fmtname\ format.
\endexample
\enddesc
@@ -333,7 +334,9 @@ version~\fmtversion.
This command produces the base
name of the file with which \TeX\ was invoked.
For example, if your main input file is |hatter.tex|,
-|\jobname| will expand to |hatter|.
+|\jobname|
+{\parfillskip=0pt\par\eject\noindent}
+will expand to |hatter|.
|\jobname| is most useful when you're
creating an auxiliary file to be associated with a document.
^^{auxiliary files}
@@ -1641,11 +1644,8 @@ to another command.
These commands
reserve and name an entity of the indicated type:
\ulist
-{\tolerance = 5000
-\fontdimen3\the\font = 2\fontdimen3\the\font % allow spaces to stretch more
-\li |\new!-count|, |\newdimen|, |\newskip|, |\new!-mu!-skip|, |\new!-toks|,
-and |\new!-box| each reserve a \minref{register} of the indicated type.
-}
+\li |\newcount|, |\newdimen|, |\newskip|, |\newmuskip|, |\newtoks|,
+|\newbox| each reserve a \minref{register} of the indicated type.
^^{count registers//reserved by \b\tt\\newcount\e}
^^{dimension registers//reserved by \b\tt\\newdimen\e}
^^{skip registers//reserved by \b\tt\\newskip\e}
@@ -1884,8 +1884,8 @@ You can associate more than one input stream with the same
file. You can then read from several different positions within
the file, one for each input stream.
-You should allocate stream numbers for |\openin| using
-|\new!-read| (\xref{\@newread}).
+You should allocate |\openin| stream numbers with
+|\newread| (\xref{\@newread}).
\example
\newread\auxfile \openin\auxfile = addenda.aux
% \auxfile now denotes the number of this opening
@@ -2285,7 +2285,7 @@ The number of
leading dots in the log indicates the number of
levels of nesting of inner boxes.
\li |\showlists| records
-the contents of each list that \TeX\ is currently constructing.
+the contents of each of the lists that \TeX\ is currently constructing.
(These lists are nested one within another.)
See \knuth{pages~88--89} for further information about interpreting
the output of |\showlists|.