OK I think you are right and that somehow Latex cant get itself into the temp directory. Yap manages OK as when I create the dvi manually and then do a view -> dvi from lyx it runs and sees OK.
Anyway, dead cat territory, I tried from the command line "lyx -dbg 3" and everything works. Himm. However "lyx" behaves the same as double clicking the .exe. Making a shortcut with the -dbg 3 switch also doesn't work (It has read the -dbg 3 switch as the helpful shell window appears). A better workaround anyway, I hope. Thanks for your help, 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 --- Jim Reid Department of Molecular Biology and Biotechnology, Sheffield University, Firth Court, Western Bank, Sheffield 0114 222 4240 [EMAIL PROTECTED]
