Thursday, September 16, 2010

Install RevTex 4.1 into MikTeX 2.8

RevTeX's latest version is 4.1 up to today.
If you want to install it under MikTeX 2.8, here there's the recipe as found from RevTeX 4.1
README file:

Installation ------------ You already started the installation process by unzipping revtex4-1.zip. As you will have seen, it created a directory revtex4.1
containing this file README, the file DOWNLOAD, and the file revtex4-1-tds.zip, which contains the bulk of the installation. To install this software
into a TDS-compliant TeX installation, like TeX Live, working as root, issue a shell command like

unzip revtex4-1-tds.zip -d /usr/local/texlive/texmf-local/

where the destination for the unzipped files is, in this example, appropriate for a local modification of a sufficiently recent distribution of TeX Live.
You may of course choose a different destination depending on your particular requirements. After installation, files will be located as per the
Manifest above. Run the appropriate update command (mktexlsr, initexmf -u, etc.); under TeX Live that would be (as root)

mktexlsr /usr/local/texlive/texmf-local

Install required packages (AMS-LaTeX, natbib, textcase, and bm).
Please consult the documentaton for your local TeX package for more information.
MikTeX users should use a recent version (see http://miktex.org/) and consult the documentation there. There are several steps you will have to do.
Please note that the steps given here may change with future versions of MikTeX, but the basic steps should be quite similar.

1) Create a texmf-local directory if needed. For example, you might create a directory such as C:\local\miktex\texmf-local.

2) Tell MikTeX where your texmf-local directory is. Find the MikTeX Options window and look for the "Roots" tab. If your texmf-local directory
is not listed, click "Add" and add it.

3) Unzip the revtex4-1-tds.zip (part of the REVTeX distribtution) in your texmf-local directory.

4) Update the "File Name Database (FNDB)." This step is essential and it registers all of the files in your texmf-local directory with MikTeX.
Do this by clicking on "Refresh FNDB" in the General tab of the MikTeX Options window.


MikTex also comes with a package manager. This can be an easier way to maintain the packages installed on your system.
However, please note that the packages available may not be the most current version of the packages.


Some remarks:

MikTex Options window can be opened by
Start -> Programs -> MikTex 2.8 -> Maintenance -> Settings
and choosing the Roots tab.

No comments:

Post a Comment