Francesco wrote:
Hi,
I tried to install lyx on windows with the LyXWinInstaller but the installation
stopped in the middle (after having installed MikTek) because it said it
couldn't find a latex installation in the system. I then tried with the standard
web installer (lyx-143-5-bundle.exe) and in this case the installation went on
till completion but the program failed to start.
When I start it I get the following error:
"Lyx has been closed because of an unexpected situation. This is most likely
caused by a flaw in the software..."
then if you look at the detailed message error it says:
"LyXTextClassList::Read: no textclasses found!"
Can anyone suggest how to overcome this problem and successfully start lyx?
Any help will be very appreciated.
Many thanks
Francesco
It sounds as though MikTeX installation was not entirely successful.
LyX won't be able to construct the textclass.lst file without a working,
accessible version of LaTeX.
Verify that MikTeX works (try running 'latex --version' in a command
window, then maybe try running latex against a sample .tex file from one
of the installed packages). Also make sure that MikTeX's bin directory
is on the system command path and that the basic classes are installed
(try 'kpsewhich article.cls' in a command window -- it should spit up
the path to the standard article class). It might be that MikTeX
installed but did not make it onto the command path, in which case you
can just add it to the path (My Computer -> Properties -> Advanced ->
Environment Variables, highlight Path, click Edit, and add MikTeX's bin
directory, using a semicolon to separate it from the rest of the path).
/Paul