[tex-live] texconfig-sys init fails in bin directory

Akira Kakuto kakuto at fuk.kindai.ac.jp
Wed May 12 04:38:09 CEST 2010


> Le 11/05/2010 22:03, Hartmut Henkel a 馗rit :
> > when there is a file "foo" and a file "foo.tex" in some directory, and i do
> > "\input foo" in that directory, the file "foo.tex" is read, so in this case
> > the extension ".tex" is used. But not in the above case, where the binary 
> > "amstex" has precendence over "amstex.tex".
> > 
> No, the current directory, where asmtex is found, has precedence over the
> directory where amstex.tex is found. This is easily verified by putting
> amstex.tex in the current directory too: it will be used first.
> 

search order:

(1) foo
    try foo.tex , next try foo

(2) foo.bar
if try_std_extension_first = y
    try foo.bar.tex , next try foo.bar
if try_std_extension_first = f
    try foo.bar , next try foo.bar.tex

Unfortunately, the search is done for each directory in order
not to lose efficiency.

Best,
Akira



More information about the tex-live mailing list