<           LaTeX installation instructions for web2c Unix TeX   '                             30 May 1994        SUMMARY  =======    G This file contains instructions on how to install LaTeX for web2c Unix  C TeX.  Before reading this file, you should read install.txt, which  . will explain how the LaTeX installation works.    This file describes:   (  * How to save any old version of LaTeX.   (  * How to unpack the LaTeX distribution.   "  * How to create the LaTeX format.   "  * How to install the LaTeX files.   A During the installation procedure, it may be easiest to set some   environment variables.   C The $LATEXINPUTS directory is where the LaTeX packages and classes  6 are kept.  This is on the TEXINPUTS path, for example:   5    setenv LATEXINPUTS /usr/local/lib/tex/inputs/latex    E The $LATEXFORMATS directory is where the LaTeX format is kept.  This  ' is on the TEXFORMATS path, for example:    1    setenv LATEXFORMATS /usr/local/lib/tex/formats    D The $LATEXBIN directory is where the LaTeX binary is kept.  This is  on the PATH, for example:    !    setenv LATEXBIN /usr/local/bin    C The $LATEXDIST directory is where the LaTeX distribution is kept.   8 This is normally NOT on the TEXINPUTS path, for example:   0    setenv LATEXDIST /usr/local/lib/tex/latex/src         SAVING ANY OLD VERSION OF LATEX  ===============================    A If you have a copy of LaTeX 2.09, you may wish to save it before   installing LaTeX2e.      0 To begin with, you should save the LaTeX format.       cd $LATEXFORMATS     mv latex.fmt latex209.fmt     D Then you should save the LaTeX inputs.  This will depend on whether B your LaTeX inputs are kept in the same directory as all the other  inputs.  If they are, then:        cd $LATEXINPUTS    mkdir ../latex209    cp *.sty ../latex209    < If they are not, and are kept in a separate directory, then:       cd $LATEXINPUTS    mkdir ../latex209    cp * ../latex209    A Finally, you can create a shell script to run the old latex, for   example:       #!/bin/sh!    TEXINPUTS=${LATEX209INPUTS:- \ 6       .:/usr/local/lib/tex/inputs/latex209:$TEXINPUTS}    export TEXINPUTS     virtex \&latex209 $*        UNPACKING THE DISTRIBUTION ==========================   - To unpack the LaTeX distribution, you should:        cd $LATEXDIST    initex unpack.ins     ( This may take 5 or 10 minutes to unpack.       CREATING THE LATEX FORMAT  =========================    ' To create the LaTeX format, you should:        initex latex.ltx      A This will create a file latex.fmt.  You should install this with:        mv latex.fmt $LATEXFORMATS      > If you had a latex binary before, it will now pick up the new # format.  Otherwise, you should say:        cd $LATEXBIN     ln virtex latex          + PUTTING THE FILES WHERE LATEX CAN READ THEM + ===========================================    ' To install the LaTeX files, you should:        cd $LATEXDIST.    mv latexbug.tex testpage.tex docstrip.tex \*       *.cls *.clo *.sty *.fd *.def *.cfg \       $LATEXINPUTS        You have now installed LaTeX!       % CHECKING THAT THE INSTALLATION WORKED % =====================================    2 To check that the installation worked, you should:       cd $LATEXDIST    latex ltxcheck      B This will perform a number of tests, which should all report `OK'.      * --- Copyright 1994 the LaTeX3 project. ---* ---       All rights reserved.         ---