Francesco <[EMAIL PROTECTED]> writes:

> I tried to install lyx on my pc (which is running windows xp sp2) but I didn't
> succeed for the notorious "no textclasses found" problem. I then tried to
> install it using cygwin and everything went fine. I have now another problem:
> I need to use the IEEEtrans.cls for producing the output of my file but it is
> not available in the standard distribution. In Windows I could run the miktek
> update manager (which has a very nice GUI) and download the missing package.
> How
> can I do the same thing in cygwin? I simply need to "add" the IEEEtrans.cls to
> my latex distro that is under cygwin but I have no idea how to do that.
> Can anyone help? I would really appreciate it.

Using a cygwin shell create the following directories ($ is the shell prompt):
$ mkdir -p /usr/local/share/texmf/tex/latex/ieeetran
$ mkdir -p /usr/local/share/texmf/bibtex/bst/ieeetran

Download IEEEtran.cls, IEEEtran.bst, and IEEEtranS.bst from
http://tug.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/

Put IEEEtran.cls into /usr/local/share/texmf/tex/latex/ieeetran/
Put the .bst files into /usr/local/share/texmf/bibtex/bst/ieeetran/

Run texhash:
$ texhash

Test if it worked:
$ kpsewhich IEEEtran.cls
/usr/local/share/texmf/tex/latex/ieeetran/IEEEtran.cls

However, note that you can also use miktex, so you could uninstall the cygwin
tetex and install it in its place (remember to reconfigure lyx through
Tools->Reconfigure if you do so).

As a last note, if you installed the official cygwin version of LyX and don't
see the math symbols, you may have to perform the actions listed here:
http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg52067.html

This is not necessary if you installed this package:
ftp://ftp.lyx.org/pub/lyx/bin/1.4.3/lyx-1.4.3-cygwin.tar.gz

HTH

-- 
Enrico

Reply via email to