<div dir="ltr">The working directory is always the first place to be searched.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote">2017-04-15 11:57 GMT+02:00 Andreas Scherer <span dir="ltr"><<a href="mailto:andreas_tex@freenet.de" target="_blank">andreas_tex@freenet.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Am 15.04.2017 um 11:39 schrieb Zdenek Wagner:<br>
> If you want to get the same result by kpsewhich, you have to specify<br>
> -progname tex in order to force the same order of directories.<br>
<br>
</span>Thanks, this helps a bit. 'kpsewhich -progname tex cwebmac.tex' says:<br>
/opt/texlive/2016/texmf-dist/<wbr>tex/plain/cweb/cwebmac.tex<br>
<br>
However, this is quite counterintuitive.<br>
<br>
If I set a soft-link from '~/.texlive2016/.../cwebmac.<wbr>tex' next to the<br>
CWEB source, both kpsewhich and tex pick up the 'most local' file. :o)<br>
<span class="HOEnZb"><font color="#888888"><br>
Andreas<br>
</font></span></blockquote></div><br></div>