   :                 LaTeX Installation Instructions for PCTeX    +                              1994 August 10        SUMMARY  =======   J (Note: LaTeX2e is also available directly from Personal TeX, Inc. with theF purchase of any new PCTeX System or PCTeX Upgrade.  To find out how to0 contact Personal TeX, see the end of this file.)   D This file contains instructions on how to install LaTeX2e for PCTeX ? (either PCTeX for Windows or MS-DOS) from Personal TeX, Inc.      L Before reading this file, you should read `install.txt', which will explain # how the LaTeX2e installation works.     This file describes:   (  * How to save any old version of LaTeX.   (  * How to unpack the LaTeX distribution.    * How to configure LaTeX.   "  * How to create the LaTeX format.   '  * How to check the LaTeX installation.    '  * What to do if you have any problems.        SAVING ANY OLD VERSION OF LaTeX  ===============================    N The installation of LaTeX2e is designed to *preserve* the existing LaTeX 2.09 M files.  Two versions of LaTeX should be able to coexist on the same computer. C LaTeX 2.09 will typically still stay in the `<drive>:\pctex\latex'  L subdirectory, and LaTeX2e will be installed into `<drive>:\pctex\latex2e'.  J Later, when you feel comfortable switching completely to LaTeX2e, you can G delete the `<drive>:\pctex\latex' subdirectory to save hard disk space.    H The format file for LaTeX 2.09 is named `lplain.fmt', residing in eitherL the `<drive>:\pctex\texfmts' or `<drive>:\pctex\texfmts.386' subdirectory.  K The format file for LaTeX2e will have the name `latex.fmt', so it will not  ) write over your existing lplain.fmt file.      UNPACKING THE DISTRIBUTION ==========================   J These instructions assume you have already installed PCTeX for Windows or  PCTeX for MS-DOS.     N It is recommended that you create a new subdirectory `<drive>:\pctex\latex2e' K in which to put the LaTeX2e distribution files.  IMPORTANT: Do NOT mix the  M LaTeX2e files with your existing LaTeX 2.09 files.  To create the `\latex2e'  & subdirectory, enter at the DOS prompt:  !         md <drive>:\pctex\latex2e   N Then change to the `<drive>:\pctex\latex2e' subdirectory and copy the LaTeX2e  distribution files into it.     K You will also need a file with hyphenation patterns.  You can copy the one  C in your `<drive>:\pctex\texinput' subdirectory.  To do this, enter:   H         copy <drive>:\pctex\texinput\hyphen.tex <drive>:\pctex\latex2e\.  L Then you need to unpack the LaTeX2e distribution files using Big PCTeX/386. H From within the <drive>:\pctex\latex2e subdirectory, at the DOS prompt,  enter:           tex386b unpack.ins /i   J If you do not have Big PCTeX/386, you may use PCTeX (tex.exe) or PCTeX/386J (tex386.exe), but these versions will take much longer to unpack the file.L If you use PCTeX, substitute `tex386b' with `tex' in the line above.  If youJ use PCTeX/386, substitute `tex386b' with `tex386'.  Note: You may want to A consider upgrading to Big PCTeX/386 if you plan on using LaTeX2e.    CONFIGURING LATEX  =================    J After unpacking the `unpack.ins' file, you will need to modify the system I configuration file, `texsys.cfg', which is used to tell LaTeX2e where to   find input and .tfm files.  F To modify this file, use a text editor to open the file.  As you will D find out, by default, all the lines in the file are commented out.    = (1) Search for the text string `\subsection{MSDOS (other)}'.    ' (2) Replace `(other)' with `(PCTeX)'.     9 (3) A few lines below this, look for the following lines:            % \def\@currdir{./}          % \def\input@path{% %         %   {c:/tex/inputs/distrib/}% %         %   {c:/tex/inputs/contrib/}% #         %   {c:/tex/inputs/local/}%          % }   L (4) Uncomment these lines by deleting the `%' signs at the beginning of eachL one. Then make the modifications as shown below.  After modification, these % lines should look like the following:            \def\@currdir{./}          \def\input@path{%            {c:/pctex/latex2e/}%           {c:/pctex/texinput/}%            {c:/pctex/amstex/}% 	         }   E IMPORTANT: Do NOT delete the `%' sign in front of `\begin{macrocode}'  and `\end{macrocode}'.    7 (5) Now save the changes you have made to `texsys.cfg'.    M IMPORTANT: If you have installed PCTeX on a hard drive other than C:, please  1 modify the paths in the `texsys.cfg' accordingly.    CREATING THE LaTeX FORMAT  =========================     PCTeX for Windows:  E If you are using PCTeX for Windows, you can run INITeX and assign the L LaTeX2e format file to one of the two custom format Toolbar icons, `FMT1' or/ `FMT2'.  Follow the 3 steps below to do this:     - (1) Copy the file `latex.ltx' to `latex.tex'.   A (2) Then run PCTeX for Windows.  Select `Typeset' and `INITeX'.     = (3) In the `INITeX' dialog box, check `Format1' or `Format2'. G Under `Macro file name', enter `latex'; in `Path to input files', enter K `<drive>:\pctex\latex2e'; in `Path to tfm files', you can keep the default  : paths.  Then click `OK' to create the LaTeX2e format file.   PCTeX for MS-DOS:   E If you are using PCTeX for MS-DOS, you can create the LaTeX2e format  L file by entering the following at the DOS prompt from your \pctex directory:  L tex386b latex.ltx "\dump" /i /pi=c:\pctex\latex2e;c: /pt=c:\pctex\amstfms;c:  ? If you are using PCTeX (tex.exe), replace `tex386b' with `tex'. I If you are using PCTeX/386 (tex386.exe), replace `tex386b' with `tex386'.    % CHECKING THAT THE INSTALLATION WORKED % =====================================    G To check that the LaTeX2e installation worked correctly, copy the file  D `ltxcheck.tex' from your `\pctex\latex2e' subdirectory into another I directory, for example `<drive>:\temp'.  Then from within this directory,  follow the instructions below:  M If you are using PCTeX for Windows, run LaTeX2e on `ltxcheck.tex' by clicking L on the `FMT1' or `FMT2' Toolbar icon, depending on which one you assigned to LaTeX2e.  I If you are using PCTeX for MS-DOS, enter the following at the DOS prompt:   #         tex386b &latex ltxcheck.tex   J After this, you may wish to typeset `usrguide.tex' with LaTeX2e and print G the result.  This file documents many of the new commands available in  / LaTeX2e.  (Remember to typeset the file twice.)    PROBLEMS ========  H The names of the basic files in LaTeX2e have been changed since the betaJ version.  For example, `unpack.ins' is now used instead of `unpack2e.ins'.K For creating the LaTeX2e format file, `latex.ltx' rather than `latex2e.ltx' I is now used.  Be sure to use these new file names when unpacking files or  creating the format file.   K If you have other problems with the LaTeX installation, see the `PROBLEMS'   section in `install.txt'.   E If `ltxcheck' produces a `BAD' message, you will typically be able to F figure out from the message what is wrong.  If it is not obvious what H caused the `BAD' message, then please consult the section on `ltxcheck'  in `texpert.txt'.    B If you have any problem not resolved by the above, please contact " Personal TeX technical support at:   pti@crl.com             (email)  (415)388-8865           (fax)  (415)388-8853           (voice)    Personal TeX, Inc. 12 Madrona Street  Mill Valley, CA 94941    D --- Copyright 1994 (c) Personal TeX, Inc. and the LaTeX3 project ---D ---                     All rights reserved.                     ---