How to Install LaTeX for Windows 95/98/NT

Note: The author of this site does not guarantee the links to be current. If you notice a link that is out of date, please notify me. This page was last updated on August 30, 1999. The author of these pages is not responsible for performance of any of these packages or any consequences thereof. If you have any problems, however, I will be glad to try to help. Just email me!

This series of web pages will walk you through the installation of a fully working Freeware implementation of TeX/LaTeX for Windows 95/98/NT. The software includes v. 1.20 of the 32-bit MiKTeX package of TeX/LaTeX executables and packages; the Ghostscript/Ghostview postscript interpreter/previewer/printer; the Emacs editor and the Auc-TeX lisp package for Emacs. NEW! Now, instructions have been added for adding LaTeX-sensitive spell checking in Emacs! Together, these programs will allow you to write LaTeX code, process it, view it and print it all from within the context of a single editing window. The best way is to start with this page and follow the directions all the way through. If you are only interested in one or two of these components, here are the links to the other pages:

  • Installing Ghostview/Ghostscript for Windows 95
  • How to Install Emacs for Windows 95
  • How to Install Auc-TeX
  • NEW! How to add Ispell 3.2 for PC
  • The MiKTeX package

    1) Download the MiKTeX distribution. Go to the web site: ftp://ctan.tug.org/tex-archive/systems/win32/miktex/1.20/index.html and follow the instructions on how to download there. Put each of the files in a single location (I suggest you create the directory c:\miktex) as you download them.  Make sure to get all of the "Level 1" files.  I also suggest at least the following "Level 2" files:

    Don't forget to get the MiKTeX set-up wizard!

    2) Install the software.  Follow the installation instructions here:ftp://ctan.tug.org/tex-archive/systems/win32/miktex/1.20/install.html

    Take special note of the fact that the Windows PATH variable must be set to include c:\texmf\miktex\bin by including a line like:

    set PATH= %PATH%;c:\texmf\miktex\bin

    in your autoexec.bat file.

    NOTE: You may encounter errors in Windows NT if you are not logged on as administrator.  The set-up wizard may complain that it could not create the filename database.  If you run the set-up wizard and it completes without errors, you will be prompted with a screen that informs you that MiKTeX installation has been successfully completed.  It will then prompt you to "Finish", where a check-box will be filled that allows you to read the installation/release notes.  If you did not get this screen, you may need to do the following (not guaranteed to work, but it worked for me!):

    In the c:\texmf\miktex\config directory, a log file should have been created.  Read the log file and check towards the very end.  If you see the message: "Fatal error: Setup could not create the filename database" then you should follow the instructions to re-boot and execute the shortcut "Reconfigure" in the MiKTeX start folder.  If this shortcut was not installed, then do the following: 1) re-boot; 2) use the explorer to find and execute (just double-click on it) the file config.bat in the c:\texmf\miktex\config directory; 3) reinstall MiKTeX by once again running the set-up wizard.  If you have any problems, please contact your NT administrator for help.

    3) Re-boot.  You must rebooth so that the PATH statement will be read by autoexec.bat.  If not, the operating system will not know how to find LaTeX.

    4) Read the (not so) short introduction to LaTeX.  The link to the English version is here:

    ftp://ctan.tug.org/tex-archive/info/lshort/english/lshort.pdf

    Versions in other languages may be found here:

    ftp://ctan.tug.org/tex-archive/info/lshort/

    Use Ghostview or Adobe Acrobat to view the 'lshort2e.pdf' file you downloaded. 'lshort2e.pdf' is a fantastic introduction to LaTeX (The Not So Short Introduction to LaTeX 2e.. This is a great way to learn the basics!

     

    Next... Go to the following page to get the postscript previewer.

    Installing Ghostview/Ghostscript for Windows 95

     

    Here is a link to the MiKTeX Project Page for further information.

    MiKTeX Project Page

    Thanks to Christian Schenk for providing an excellent package. LaTeX is the product of hundreds (perhaps thousands) of volunteers who collaborate to provide an excellent (and FREE) way to produce technical and mathematical documents without reliance on expensive and more difficult-to-use word processing software. For more on the history of TeX and LaTeX, as well as lots of info on what its components are visit TeX Frequently Asked Questions - Table of Contents. As mentioned above, check out the The TeX Catalogue Online for a listing of packages available on CTAN. The Comprehensive TeX Archive Network is the home of all freely-available TeX related stuff. You can visit its homepage at http://ctan.tug.org.

    Copyright Dave Vanness.
    Last revised: August 30, 1999