user’s “mylib”, and finally in the system library. Normally, the user will place the command sequence which sets up the TEXINPUTS environment variable in the <I>.cshrc</I>
or <I>.profile</I>
file. The Environment section below lists the relevant environment variables, and their defaults. <P>
The <I>e</I>
response to TeX ’s error prompt causes the <I>vi</I>
editor to start up at the current line of the current file. There is an environment variable, TEXEDIT, that can be used to change the editor used. It should contain a string with "%s" indicating where the filename goes and "%d" indicating where the decimal linenumber (if any) goes. For example, a TEXEDIT string for (Gosling’s) <I>emacs</I>
can be set by: <BR>
<BR> setenv TEXEDIT "/usr/bin/emacs -l/usr/lib/tex82/tex-start -estartline %d %s" <BR>
(replacing the path name for the emacs as appropriate on your system). <P>
<P>
A convenient file in the library is null.tex, containing nothing. When tex can’t find a file it thinks you want to input, it keeps asking you for another file name; responding ‘null’ gets you out of the loop if you don’t want to input anything. <P>
Two other TeX programs, <I>initex</I>
and <I>virtex</I>,
can be used to create fast-loading customized versions of TeX . The <I>initex</I>
program is used to create a <I>format (.fmt)</I>
file that permits fast loading of fonts and macro packages. After processing the fonts and definitions desired, a \dump command will create the format file. The format file is used by <I>virtex.</I>
It needs to be given a format file name as the first thing it reads. A format file name is preceded by an &, which needs to be escaped with \ if given on the command line. So, for instance, one could create a file myfmt.fmt using initex, and then set up a cshell alias with <BR>
<BR> alias mytex "virtex \&myfmt" <BR>
to allow the use of “mytex paper”. <A NAME="lbAE"> </A> <H2>ENVIRONMENT</H2>
The defaults for all environments are set at the time of compilation, by reference to a file called site.h. The values given below are preset in this file, and may be different at some sites. <P>
<DL COMPACT> <DT>TEXINPUTS<DD> Search path for \input and \openin files. It should be colon-separated, and start with “.”. The entire path must be no longer than 700 characters long. Default: .:/usr/lib/tex/inputs <DT>TEXFONTS<DD> Search path for font metric files. The entire path must be no longer than 100 characters long. The default doesn’t include the current area (".") to avoid confusing the programs that convert the output for printing on the various output devices (most of which don’t know about the path stuff yet). Default: /usr/lib/tex/fonts <DT>TEXFORMATS<DD> Search path for format files. Default: .:/usr/lib/tex <DT>TEXPOOL<DD> Search path for TeX strings. Default: .:/usr/lib/tex <DT>TEXEDIT<DD> Command template for switching to editor. Default: "/usr/bin/emacs +%d %s" <P> </DL> <A NAME="lbAF"> </A> <H2>FILES</H2>
<P> <DL COMPACT> <DT>/usr/lib/tex<DD> TeX ’s library area <DT>/usr/lib/tex/tex.pool<DD> Encoded text of TeX ’s messages <DT>/usr/lib/tex/fonts<DD> TeX ’s fonts and width tables <DT>/usr/lib/tex/fonts/*.*[gf,pk]<DD> Bit maps for low resolution devices. This is very dependent on the organization of the local system <DT>/usr/lib/tex/fonts/*.tfm<DD> Width information used by TeX (TeX Font Metric files) <DT>/usr/lib/tex/inputs<DD> TeX .fmt files <DT>/usr/lib/tex/inputs/plain.*<DD> The “default” macro package <BR>
</DL> <A NAME="lbAG"> </A> <H2>SEE ALSO</H2>
Donald E. Knuth, <I>The TeX book</I>
<BR>
Leslie Lamport, <I>The LaTeX Document Preparation System</I>
<BR>
Michael Spivak, <I>The Joy of TeX </I>
<BR>
<I>TUGBOAT</I>
(the publication of the TeX Users Group) <BR>
<I>Differences between TeX 82 and SAIL TeX </I>
<A NAME="lbAH"> </A> <H2>TRIVIA</H2>
TeX , pronounced properly, rhymes with “blecchhh.” Note that the proper spelling in typewriter-like output is “TeX” and not “TEX” or “tex.” <A NAME="lbAI"> </A> <H2>BUGS</H2>
Maybe there should be character other than & to specify format files, since if you forget the \ on the command line, it doesn’t do what you want! Also, there is no way to read a TeX input file with no filename extension. <A NAME="lbAJ"> </A> <H2>AUTHORS</H2>
TeX was designed by Donald E. Knuth, who implemented it using his WEB system for Pascal programs. It was ported to Unix at Stanford by Howard Trickey, and at Cornell by Pavel Curtis. This version is a combination of their efforts. <P>
<HR> <A NAME="index"> </A><H2>Index</H2> <DL> <DT><A HREF="#lbAB">NAME</A><DD> <DT><A HREF="#lbAC">SYNOPSIS</A><DD> <DT><A HREF="#lbAD">DESCRIPTION</A><DD> <DT><A HREF="#lbAE">ENVIRONMENT</A><DD> <DT><A HREF="#lbAF">FILES</A><DD> <DT><A HREF="#lbAG">SEE ALSO</A><DD> <DT><A HREF="#lbAH">TRIVIA</A><DD> <DT><A HREF="#lbAI">BUGS</A><DD> <DT><A HREF="#lbAJ">AUTHORS</A><DD> </DL> <HR> This document was created by <A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, using the manual pages.<BR> Time: 01:00:08 GMT, September 26, 2024 </BODY> </HTML>
This document was generated on September 25, 2024 using texi2html 5.0.