On Wed, Feb 06, 2002 at 01:31:13PM +0100, Rainer Dorsch wrote:
> Hello,
> 
> I copied a style file into my document directory, modified it and run lyx on a 
> document, containing the style file.
> 
> It seems that the search path does contain the document directory at the end 
> and not at the beginning.

This is due to the use of the temporary directory.

> Do I have the change to change this to the latex default, where the document 
> directory/current directory is searched first?

Usually, if you need to change a style file, it is best to change its name.
If you must keep the original name, then keep the style file in some
directory, say /home/foo/mystyles/, and then do
  export TEXINPUTS=/home/foo/mystyles/:  (for bash)
  setenv TEXINPUTS /home/foo/mystyles/:  (for tcsh)
(not the : at the end!)

Reply via email to