On Fri, 24 Feb 2006 14:13:04 -0800, Stephen Harris wrote: > The View function doesn't work. It complains about missing > TeX class "article" when I first load the .lyx document and > C:\texmf~ is in my PATH.
Try reconfiguring after adjusting path_prefix (see below). > The Tex Information produces a > window but it contains no information. Yes, I also see this, but then this also happens with 1.3.7. > I used mount -f C: /c (not mount -f C: /cygdrive/c ?) as advised. Correct. To see if that works try "ls /c" in a cygwin shell. > Path prefix had no entries which I thought was a bit strange. It is normal. In 1.3.7 entries are added by the windows installer. > I've tried both of these in Path prefix > C:/reader7/Reader/acrord32 > /c/reader7/Reader/acrord32 > > I've tried both of these absolute paths in File formats Viewer > C:/reader7/Reader/acrord32 > /c/reader7/Reader/acrord32 > originally it just said Viewer pdflatex, acrord32, but didn't work. Please *always* use posix syntax in path_prefix, i.e., /c/reader7/... and *not* C:/reader7/... > The Working directory automatically generated by LyX is > C:/Cygwin/.xemacs Uh? It seems that you have not set the HOME variable. LyX/Cygwin uses HOME instead of USERPROFILE. Perhaps I should patch the sources such that USERPROFILE is used as a fallback if HOME is not set. For the moment, you can fix this by adding the HOME var in the same way you add the PATH var but in the user section. Set HOME to a folder of your choice and then try launching LyX with the option "-dbg init" to see what it thinks your home_dir is. > The tmp directory generated by LyX is C:/Cygwin/tmp This is correct. > I also tried putting C:/texmf/miktex/bin in Path prefix > and also the path to article.cls which is in ~/.../base > separated from each other with a : also :C:/reader7/etc As I noted above, always use posix syntax in path_prefix, so write that as /c/texmf/miktex/bin:/c/reader7/etc The ':' char must only be used as a separator. Please try the following as path_prefix (I am assuming that your AcroRd32.exe is in C:\reader7\Reader\acrord32 and that you issued the "mount -f C: /c" command) /usr/local/bin:/usr/bin:/usr/X11R6/bin:/c/texmf/miktex/bin:/c/reader7/Reader/acrord32 After modifying path_prefix, save the preferences and *restart* LyX. > I'm not sure what is broken because of being a Pre version. > For instance Import Latex is missing, it just has text imports. This is a known issue when a version suffix is used (the configure script should be called with the option --version-suffix=<the_suffix> but it is not). To fix this do the following in a cygwin shell: cd /usr/local/bin ln -s tex2lyx-1.4.0.exe tex2lyx and then reconfigure LyX. > The spellchecker starts checking the second misspelled word. This also is a known bug in LyX. > Anyway your instructions are proven to work. A new user > can search the archives and find clarifications in this thread. > I've remembered to modify, apply, save, and Reconfigure. > > My favorite test file, sample.lyx, does convert eps and jpeg, I think that you have a working copy of LyX. You should simply fix some glitches. -- Enrico