LaTeX installation instructions for AmiWeb2C TeX 10 December 1995 SUMMARY ======= This file contains instructions on how to install LaTeX for Web2C TeX on the Amiga (AmiWeb2C). 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 configure LaTeX. * How to unpack the LaTeX distribution. * How to install the LaTeX files. * How to create the LaTeX format. * What to do if you have any problems. REQUIREMENTS ============ In addition to the LaTeX distribution files, you will also need the following: * the file `hyphen.cfg' coming with the source distribution of AmiWeb2C, loading hyphenation patterns for US English (ushyph1.tex) and UK English (ukhyphen.tex), German (ghyph31.tex), and French (fhyphen.tex). In the commentary section of `hyphen.cfg' a list of many other languages is given together with references to pattern files. You may freely modify `hyphen.cfg' to suit your personal needs. SAVING ANY OLD VERSION OF LATEX =============================== Nobody should ever have installed LaTeX 2.09 with AmiWeb2C (which was avaible in April/May 1995), so there is no need for special treatment of such an old version of LaTeX. CONFIGURING LATEX ================= During the installation procedure, it may be easiest to set some temporary device names. The LATEXINPUTS: directory is where the LaTeX base packages and classes will finally be installed. In the `TeX Directory Structure' assumed by AmiWeb2C this defaults to: assign LATEXINPUTS: TeXMF:tex/latex/base The LATEXFORMAT: directory is where the LaTeX format is kept. This is: assign LATEXFORMAT: TeXMF:web2c/formats/latex The LATEXDIST: directory is where the LaTeX distribution is kept. This is: assign LATEXDIST: TeXMF:source/latex/base You should put all files coming with the base distribution of LaTeX in the LATEXDIST: directory. After the successful installation procedure, you can safely remove the complete LATEXDIST: directory. If you have installed the Amiga port of Web2C from scratch, you will not have to edit the file texsys.cfg at all (when the installation procedure prompts you that it can't find texsys.cfg, simply type ). If you started with the ready-to-use binaries, I suggest that you get Martin Scott's `UnixDirsII' package from the AmiNet: AmiNet:/util/shell/UnixDirsII.lha (This archive is also available on Fred Fish's AmigaLibDisk 837.) This program patches the AmigaOS so that the UNIX notations `.' and `..' are enabled for the `current' and the `parent' directory respectively. UNPACKING THE DISTRIBUTION ========================== To unpack the LaTeX distribution, you should: cd LATEXDIST: tex -ini unpack.ins This may take 15 to 20 minutes on a 50 MHz 68030, but considerably longer on a standard 7.19 MHz 68000 (approximately 4 hours). Why don't you just go and make a good cup of coffee? PUTTING THE FILES WHERE LATEX CAN READ THEM =========================================== How was your coffee? To install the LaTeX files created in the previous step, you should: cd LATEXDIST: copy latexbug.tex testpage.tex lablst.tex idx.tex ltxcheck.tex + nfssfont.tex small2e.tex sample2e.tex docstrip.tex + #?.cls #?.clo #?.sty #?.fd #?.def #?.cfg #?.ltx + LATEXINPUTS: (The `+' character means that you should type this as a single command.) If you have MakeIndex installed or intend to do so, copy #?.ist to the MakeIndex inputs directory, which should be in TDS notation: setenv INDEXSTYLE TeXMF:makeindex/styles CREATING THE LATEX FORMAT ========================= After the unpacked files of the LaTeX distribution are installed at the appropriate place, you have to create the LaTeX format proper. This will conveniently be done by the following commands: cd LATEXFORMAT: tex -ini latex.ltx Thus the format file latex.fmt will be created at the correct place and also the correctness of the installation will be tested, because the necessary files will be read from the appropriate paths. You have now installed LaTeX! GETTING A WORKING LATEX ======================= Add the following lines to your User-StartUp file in the S: directory: alias ELaTeX "tex &latex \language=\USenglish \input " alias GLaTeX "tex &latex \language=\german \input " alias MyLaTeX "tex &latex \language=\ \input " For the time being until you next reboot your system, you should type these (and possibly other) commands on the command line input. A list of such aliases is included in the file `TeXMF:source/s/User-StartUp.entry' which may serve as an example. CHECKING THAT THE INSTALLATION WORKED ===================================== To check that the installation worked, you should: cd LATEXFORMAT: latex ltxcheck This will perform a number of tests, which should all report `OK'. PROBLEMS ======== `texsys.cfg': While running IniTeX on latex.ltx you will be prompted that this file can't be found on your system. This is a feature! Given that you have `UnixDirsII' installed you may safely continue by typing . The standard notation `./' for the `current' directory will be assumed. `File missing': As long as the default search paths of AmiWeb2C are correctly set up and used, you won't encounter this message. `Font missing': Some of the fonts, i.e., tfm files, required by LaTeX are missing. In addition to the 75 standard fonts of the `Computer Modern' family, several additional fonts are needed. Run MetaFont on the respective font drivers and install the tfm files in the TeXMF:fonts/tfm// directory structure. `Out of memory': The memory configuration file `texmf.cnf' coming with the source distribution of AmiWeb2C was used for the installation of LaTeX on my system, so it should be appropriate for your machine too. Since AmiWeb2C is directly descended from the UNIX Web2C distribution, its binaries are designed for a BigTeX configuration. If you really want to install it on machines with less than 2 MB of RAM, you will most likely have to restrict yourself to a single language in `hyphen.cfg' and comment the value for `triesize' in `texmf.cnf' in order to start IniTeX. CLEARING UP =========== You may now be wondering what to do with all the remaining files that are not needed to run LaTeX. This is, of course, a matter of personal taste and availability of disk space but here is some guidance. * The files with extension .dtx, together with source2e.tex, can be used to typeset the documented source code (see texpert.txt for further information). * The files with extension .fdd contain the documented sources for the font definition files. * The files ltnews.tex and ltnews.ps both contain the lastest LaTeX newsletter. * The files with extension .txt contain information about (amongst other things) copyright, installation, patches and bug-reports; and those with extension .err contain errata lists for various publications: see 00readme.txt for further details. * The files with names of the form guide.tex contain reference information convering only those features new to this version of LaTeX: they are not intended to be either a user guide or a complete reference. * The files with extension .ltx, together with latexcheck.tex, are used to create and test the format; therefore you should keep these together with the installed LaTeX system in the LATEXINPUTS: directory if you expect to remake the format before getting the next full distribution. * The files with extension .ins are used to unpack the code from the .dtx and .fdd files. * We recommend that you keep, in the LATEXFORMAT: directory, the transcript file latex.log that was produced whilst creating the format. If you don't need the documentation or if you are lacking enough disk space to permanently keep the LaTeX distribution files, you can now safely: delete LATEXDIST:#? SYSTEM-SPECIFIC SECTIONS ======================== As the maintainer and distributor of AmiWeb2C I'm very interested in any feedback about problems with the application of this TeX system for the Amiga. Please report difficulties in installing and/or using LaTeX that are clearly related to any (mis)feature of AmiWeb2C to Andreas Scherer Roland-Stra{\ss}e 16 52070 Aachen, Germany --- Copyright 1995 Andreas Scherer and the LaTeX3 project. --- --- All rights reserved. ---