[posted and mailed] "Jim Reid" <[EMAIL PROTECTED]> wrote in news:3F0C5497.5660.52B985 @localhost:
> Hi > > Well I've just installed the Win32 version and it looks like I have a > similar problem. When I do a "View -> dvi" I get an error message > from Yap (the dvi viewer) saying test.dvi not found. A test.tex file is > created in this dir though. When I manually run latex off the > command line (had to fix the path but this is probabally just a local > problem) I end up with a dvi file as expected. This is file is fine and > then a "View -> dvi" will see it. This is an OK workaround (as is > using my linux box at home...) so I'll live if I can't fix this problem! > > Anyway my best guess is that somehow Lyx isn't running latex > succesfully. I've tried going into "edit -> prefences -> outputs -> > converters",checking the most likely looking one (LaTeX to dvi) and > sticking in the absolute path to the latex.exe; but no joy. > > Himm - I kind of remember that LyX generates an automatic > inventory of your LaTeX install "LaTeXconfig.lyx". This exists and > has spotted a LaTex install. > > Well I'm stumped for the moment and I hope you don't mind the > rambling style - I've been trying whatever as I write & think. > > Cheers, > > Jim CAVEAT: I use the Cygwin port, not the native Windoze port, so all answers have to be treated in context. Also, I use WinDVI, not Yap. Easy way to tell if LyX is running LaTeX: open the doc, do View->DVI, then (in LyX) View->LaTeX log file. If the log file's not there, or if it contains an error message, it gives you a clue what's up. If the log file is there, scroll to the bottom and see if it says that it wrote a .dvi file. When you View-DVI, LyX writes a LaTeX file in a temp directory, runs LaTeX there (along with BibTeX if needed), then invokes your DVI viewer on the DVI file created in that temp directory. So I'm wondering if you and/or Rafael are running into some kind of problem where the viewer is being passed the file name but not the path to the temp directory. There's probably a smarter way to figure that out, but my inclination would be to write a batch file that just echos its command parameters to the screen, and substitute that batch file (and the path to it) for the path to Yap in Edit->Preferences->Conversion->Formats->DVI. Then try viewing a test file, and see if the batch file is passed an accurate path to the temp directory. Also, this being Windows, sacrificing a small, furry animal first couldn't hurt. (Well, couldn't hurt your chances -- might hurt the animal.) (Note to PETA: I'm joking.) -- Paul ************************************************************************* Paul A. Rubin Phone: (517) 432-3509 Department of Management Fax: (517) 432-1111 The Eli Broad Graduate School of Management E-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) ************************************************************************* Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. J. W. v. GOETHE
