On Thu, 14 Oct 1999, Jean-Pierre.Chretien wrote:
[...] 
> No TEXINPUTS declared, I use only the kpathsea mechanism
> (standard, leading . in the paths).
> 
> >From anywhere but the directory un which is the LyX file:

This looks like the answer.  LyX will be running LaTeX in /tmp/lyx...
BUT if the file is \input shouldn't LyX have a copy of it in /tmp also or
at least know of its existance?  Unless its a ERT \input maybe?

A possible workaround might be to disable the use of a temporary
directory.  There's a lyxrc variable for that but I can't remember its
name.

BTW,  this is only a guess.

> %->kpsewhich foo.tex
> /usr/local/teTeX/share/texmf/tex/latex/local/foo.tex
> which contains
> \newcommand{\testloc}{original}
> 
> >From the directory:
> %->kpsewhich foo.tex
> ./foo.tex
> which contains
> \newcommand{\testloc}{modification}
> 
> 
> The latex code
> Impression de \testloc
> gives "modification" in LaTeX and "original" in LyX.
> 
> teTeX 1.0, LyX-1.0.4, Solaris 2.6
> 
> -- 
> Jean-Pierre

Allan. (ARRae)

Reply via email to