John Pye wrote:
Hi again,
I did try the Repository menu. I just pointed it to a directory where I
had placed the single file, "subfigure.cab". Obviously it requires some
kind of index file in addition, but i can't find out what that should
be. It seems silly to download the whole repository just for this one
file -- a file that I already have.
Ok, you can try the following. (A good stiff drink beforehand to settle
the nerves might be warranted, and personally I would keep the bottle
handy.)
1. Put subfigure.cab in a temporary directory and open a command prompt
there.
2. Execute
expand subfigure.cab . -F:*
(note that the -F switch is case-sensitive). If Windows complains that
it can't find the expand command, you'll need to search for expand.exe
under C:\Windows, but I'm betting it's on your command path.
3. Move subfigure.sty and subfigure.cfg to an appropriate subdirectory
under either your texmf or localtexmf root. (My suggestion would be
<localtexmf>\tex\latex\subfigure\, which you will need to create.)
4. Move subfigure.tpm to wherever TPM files go to hang out
(<texmf>\tpm\packages\ or <localtexmf\tpm\packages\ ?).
5. Move subfigure.dvi (the manual) to an appropriate directory, say
<localtexmf>\doc\latex\subfigure\.
6. Run the MiKTeX Options application, and click the Refresh button
(Refresh FNDB in the most recent version) on the General tab.
7. See if subfigure works. If not, find where you stashed that bottle.
8. Assuming it works, feel free to discard subfigure-src.cab (unless
you plan to modify the source code), README (which may be accurate
w.r.t. the source files but does not entirely match the non-source
content of the CAB file), and subfigure.cab itself.
HTH,
/Paul