Amir E. Aharoni writes: > > Hi, > > I installed LyX using the Cygwin installer on Windows Vista. > > I installed all LyX dependencies according to Cygwin installer. I also > installed tetex-extra, which is supposed to include revtex4 (the > latest Cygwin versions of everything, see http://cygwin.com/packages/ > ) > > I am trying to open a document which uses revtex4 and get the message: > > The document uses a missing tex class 'revtex4' > > Also, if i try to open help pages, such as "Introduction" or > "Tutorial", i get the message > > The document uses a missing tex class 'article' > > So it is possible that i have a problem with the whole of TeX > installation, although i didn't do anything except running the Cygwin > installer.
The tetex postinstall script may have failed. I remember that it takes a lot to complete, and if you don't wait and close the installer, you end up with a mangled installation. Then, maybe you are experiencing some problems with Vista. Note that, if you don't succeed in installing tetex, you could also use miktex, which works equally well. In this case, uninstall tetex (you can safely disregard the warnings of the cygwin installer) and put the path to latex.exe in Tools->Preferences->Paths->PATH prefix (use the cygwin notation for the path). I would also like to point you to a cygwin version of lyx which does not require an X server for running (you can also install it in parallel to the offical version without conflicts): ftp://ftp.lyx.org/pub/lyx/bin/1.4.4/lyx-1.4.4-cygwin.tar.gz > I tried running Tools->Reconfigure, and it didn't help. > > I see these in Tools->TeX information: > /usr/share/texmf/tex/latex/base/article.cls > /usr/share/texmf/tex/latex/revtex4/revtex4.cls Those classes are found through kpsewhich, but, maybe due to an unfinished installation, seemingly they cannot be used. Are you able to compile a minimal latex file from the command line? > If there is any more information that i can provide you - logs, > version numbers, diagnostics, please tell me. (Sorry, i am really not > a TeX expert.) Have a look at ~/.lyx/configure.log and see whether you have lines such as: +checking for document class article [article]... yes If you have "no" instead of "yes" then definitely there's something wrong with your tetex installation. -- Enrico
