Thomas Sauter wrote:
Hi!
I did:
1. starting from scratch
2. install miktex
3. remove *.cls, (no textclass.lst there)
You deleted the class files that MikTeX had installed? Did you also
update the MikTeX filename database?
4. check for operating repository
Note that, unless the repository is local (i.e., on your disk drive)
this is a temporary phenomenon. An Internet repository that is
responding when you check it can stop responding at any arbitrary time.
(I speak from painful experience. We have a CTAN mirror on my campus.
One might think fiber cable to a server three or four routers and less
than a half mile away would be ideal. One would be wrong; our mirror
server takes extended coffee breaks whenever it feels put upon.)
5. add miktex\bin to environment path
6. add lyx14\bin and lyx14\python to environment path
7. install lyx without loading packages
lyx starts, but isn’t able to produce output files (ps, pdf)
Where did LyX write the textclass.lst and packages.lst files? In Docs
and Settings\you\Application Data\lyx1.4.x?
8. in C:\lyx > c:\lyx14\bin\lyx.exe –userdir c:\lyx
packages are loaded but lyx doesn’t start (textclass error), although a
lot of textclasses are true in the textclass file and packages.lst is
also not empty.
(c:\lyx\textclass.lst is the only textclass file)
If the startup in step 7 wrote the textclass stuff where I think it did,
step 8 would have caused LyX to reconfigure (since it was being started
in a different home directory). If it wrote a non-zero textclass.lst
file in C:\lyx, then it would *seem* that the configuration script
completed; but in that case, you should not be getting the textclass error.
9. The lyx link in the start > Programms Menu also doesn’t work.
What is wrong now? Is it a path problem?
No, that seems unlikely. I'm confused by step 8. You are saying that
(a) there is a non-empty textclass.lst file in C:\lyx, showing a number
of classes flagged "true", and (b) at the same time starting with
-userdir c:\lyx caused LyX to fail to start with a "no textclasses"
error message? These seem to be mutually inconsistent.
Does setting MikTeX to ignore missing classes (i.e., neither attempt to
download them nor ask permission to do so) change the behavior of LyX?
/Paul