Using the (shared) version of TeX and other Tools on
Windows NT Workstations.

Much of the software we are using consists of a large number of components. Rather than have store the entire system on your local disk, it is often more effective to keep it on a common filesystem, where it can be centrally updated. This approach does not work when your machine is a laptop or other type of machine that is not connected to the Cornell CS department network. However, for machines that are connected to the network, using a shared implementation eliminates the problem of keeping your local version of the softwrae up to date.

The steps for doing a shared installation of these tools are described below. The Allegro Common Lisp implementation is independent of the other steps.

  1. Organize your personal files in your home directory
  2. Install TeX/LaTeX
  3. Install BiBTeX
  4. Install dvips
  5. Install dviwin29
  6. Install Ghostview
  7. Allegro Common Lisp

Home Directory organization:

Unfortunately, not all of the tools in the TeX suite have been updated to work with universal pathnames. Thus it is necessary to bind specific drive letters certain disks. Through out this document it is assumed that the directories are bound as follows:

Drive letter Universal pathname
Y: \\raven\projects
Z: \\raven\users

If you are planning on using the shared LaTeX installation, or even if not, I recommend creating a TeXlib directory in your home directory for all personal TeX related files (bibliographies, latex input files, etc.) The organization I use is:

$HOME\TeXlib\bibtex\bib (bibliographies)
$HOME\TeXlib\bibtex\bst (style files)
$HOME\TeXlib\latex\inputs (latex inputs)

 

TeX installation:

First, you need to inform Windows where the binaries for TeX are kept. In the Control Panel/System utility, add Y:\TeX\MikTeX\bin to the value of PATH.

Next you need to update the registry. In a temporary directory make a copy of the directory \\raven\projects\tex\miktex\config. (I keep my copy in $HOME\TeXlib\miktex\config.)

Modify the file miktex.environment in this directory to match your environment. If you follow the conventions given above, you should only need to change the lines containing Z:\rz\ to Z:\<your ID>\

Then in MSDOS window, cd to your copy of \\raven\projects\tex\miktex\config and type

configure -r Y:\tex

This assumes that Y: is mapped to \\raven\projects as suggested above. This will add contents of the miktex.environment file to your registry.

At this point LaTeX should work. (I have only installed LateX2e, but it should process most Latex2.09 files.)

BibTeX installation

3. Set your BIBINPUTS and BSTINPUTS environment to the directories used for bib files and bibtex style files, e.g. for me:

set BIBINPUTS=Z:\rz\TeXlib\bibtex\bib
set BSTINPUTS=Z:\rz\TeXlib\bibtex\bst

Bibtex should now work from an MSDOS prompt.

DVIPS installation

Should work without any additional installation effort.

DVIWIN29 installation

In order for DVIWIN to find your bitmaps corresponding to fonts you should set the font directory (Options/Font Directory) to

y:\tex\fonts\pk\ljfour\tmp\dpi$r

In order to have DVIWin29 use Metafont to generate missing fonts for you, you should select Options/Missing Fonts from the menu, click on Execute command and change the "CMD" to be "genpk.bat $f $m $x $y $X $Y $d $p $e". This is most easily done by removing the first few words from the line since the rest is still correct.

GHOSTVIEW installation

To install Ghostview create a program item in your start menu that points to:
Y:\gstools\gsview\gsview32.exe

The first time you run this program it will ask a number of initialization questions. Just say yes to all of them.

Allegro Common Lisp installation

Create an item in your start menu that points to Y:\Allegro\lisp.exe. This is done by selecting Start/Settings/Taskbar... and then the "Start Menu Programs" tab followed by the Add... button. Then type Y:\Allegro\lisp.exe in the window.

Once you have done this you will need to edit the shortcut. Now hit the Advanced button in Start Menu Programs tab, and using the Window Explorer select the Start menu shortcut you have just created. Use the right button to bring up the properties window, and select the Shortcut tab. Now, change the target to point to Y:\Allegro\lisp.exe Y:\Allegro\Al10Oct96.img, and change the "Start in" item to point to your home directory.