[texhax] Puzzle: bibtex working when it *shouldn't*!!! ???

David Carlisle d.p.carlisle at gmail.com
Tue May 8 10:01:45 CEST 2018


On 8 May 2018 at 08:25, Philip Taylor (RH-UoL) <P.Taylor at rhul.ac.uk> wrote:
> Ulrike Fischer wrote:
>
>> Assume that you have a test.bib and a test.bib.bib in your folder.
>> Which one do you expect bibtex to use when you do
>> \bibliography{test.bib} ?
>> And which one will texlive really use?
>
> Does not exactly the same situation/question arise with TeX ?  If one has
> both "foo.tex" and "foo.tex.tex" in one's current directory and one writes
> "\input foo.tex", which file should TeX \input ? Whichever it chooses (and
> assuming that TeX's behaviour is consistent across all platforms, as would
> be expected),

I can't imagine why you would assume or expect that. These days things
are more consistent as there's only texlive and miktex essentially but
historically the behaviour of extensionless files and the priority of
foo and foo.tex has been a consistent source of compatibility issues.

David


More information about the texhax mailing list