It is like miracle. I changed ABSOLUTELY NOTHING. Yesterday night, lyx could not find prosper but now it can! What can I say? Maybe lyx needs to receive order from authorities like Kayvan. :-)
Anyway, thank you all for help. Bo > -----Original Message----- > From: Kayvan A. Sylvan [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 18, 2002 1:17 PM > To: Bo Peng > Cc: [EMAIL PROTECTED] > Subject: Re: LyX and Prosper > > > On Mon, Mar 18, 2002 at 10:09:34AM -0600, Bo Peng wrote: > > > Okay, > > > > > > Do this: > > > > > > Set the LaTeX stuff up in a private directory (/some/directory). > > > > > > Then: > > > > > > export TEXINPUTS=".:/some/directory:`kspepath tex`" > > > > > > This should add . and /some/directory to the standard list of > directories > > > that LaTeX searches. > > > > > > > I was using $TEXINPUTS and latex could compile cluster.tex > smoothly. Still, > > lyx could not find prosper.cls. That is why I thought that lyx > only searchs > > standard latex path. > > > > Bo > > No, I assure you it does not. LyX calls LaTeX, and if you have > your environment > variables set correctly, it should work. > > I can only think of one situation in which you would see this behavior: > If you set TEXINPUTS in a shell and then use a Window-manager button > to launch LyX. Then your LyX will be operating with the environment you > had when you started your desktop, not what you set in the shell. > > Try running it from the same shell that you successfully did a > latex of cluster.tex. The first thing you should do is Edit->Reconfigure > and then try. > > -- > Kayvan A. Sylvan | Proud husband of | Father to my kids: > Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine > Yelena (8/8/89) > http://sylvan.com/~kayvan | "crown of her husband" | Robin > Gregory (2/28/92) >
