>>Jean-Pierre> Hello, Using LaTeX to fill-in parametrized pages, I used
>>Jean-Pierre> to put a default file in the texmf tree which was
>>Jean-Pierre> replaced by a modified file in the document directory.
>>
>>Jean-Pierre> This deos not work any more in LyX, the .dep file is not
>>Jean-Pierre> aware of the existence of a file of the same name in the
>>Jean-Pierre> local directory and loads the default.
>>
>>Jean-Pierre> If I export as LaTeX, all is OK again, kpathsea finds the
>>Jean-Pierre> local before the global.
>>
>>Could you describe where your local file is located and how you
>>TEXINPUTS (and kpathsea config) is setup?
>>

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:
%->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


Reply via email to