<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Following worked for me:<br>
<br>
\makeatletter<br>
<br>
\def\filepath{{/tmp/}{/Users/cvr/}{/opt/NLM/jnl-xml/}}<br>
\let\input@path=\filepath<br>
<br>
\InputIfFileExists{path-tmp.tex}{Available}{NOT Available}<br>
\InputIfFileExists{path-home.tex}{Available}{NOT Available}<br>
\InputIfFileExists{path-jnl-xml.tex}{Available}{NOT Available}<br>
<br>
I think, you might change the definition of \filepath as per your requirements.<br>
<br>
Best regards<br>
--<br>
<font color="#888888">Radhakrishnan<br>
<br>
</font></blockquote><div class="h5"><br>
</div></div>This looks interesting.<br>Does this change the search paths for any file?<br><br>Here is the last point I would like to solve:<br>I have modified a sty file (from beamer) that is included somewhere is the process of loading the beamer stuff.<br>
For the moment, this sty file is in the main directory, so that it is called correctly.<br>I would like to put it in a specific subfolder (with other personnal sty files I have managed to put there, thanks to the import package).<br>
But in this subfolder it will not be loaded because tex will not try to find it there...<br>I could have put it in my texmf folder, but then it would interfere with other projects, which I don't want.<br>So, a good solution would to be tell tex, as a per project solution, to add a specific subfolder in the TEXINPUTS variable.<br>
<br>In your code, I see a "\input@path" macro. I don't know what it does... I will search the Internet. Maybe your code can be used to solve my "problem".<br><br>Thanks a lot<br>Thierry<br><br>