-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change BibTeX "I couldn't open database file" message to include double extension #541
Comments
MiKTeX-BibTeX now accepts |
I'm not going to have a good argument any more to tell people to stop using the strictly speaking incorrect Is this already part of Anyway, while I'm here, could you have a look at \documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\begin{filecontents}{section.tex}
\section{My section}
I need to test the citations, so see \cite{incollection-full}.
\end{filecontents}
\begin{document}
\include{section}
\bibliography{xampl}
\bibliographystyle{plain}
\end{document} (from https://tex.stackexchange.com/q/544949/35864).
I think something like this used to work. (And in fact it does work in TeX live.) |
Yes.
Thank you, yet another bug. Deserves a new ticket. |
I'll open another ticket about the |
Consider the following MWE which fails because of the incorrect inclusion of
.bib
in the file name argument to\bibliography
BibTeX (MiKTeX-BibTeX 2.9.7388 (0.99d) (MiKTeX 2.9.7420 64-bit)) reports
This is a bit confusing, because BibTeX claims
xampl.bib
could not be found (that file is present and would be found), but it actually looks forxampl.bib.bib
, which can not be found. Compare this towhere BibTeX appends
.bib
to the file nameI think up until a while ago BibTeX correctly reported
xampl.bib.bib
as not found. (On a quick Google search I found https://stackoverflow.com/q/53969663 and https://www.reddit.com/r/LaTeX/comments/2wip2b/new_to_latex_first_time_bibliography_ive_been/)So I suggest to re-instate the behaviour to always append
.bib
to the file not found message and not to strip a double.bib
. I.e. the first message should readThat way the message can at least give a hint as to what might be going wrong.
Of course an alternative solution would be to strip double
.bib
extensions to avoid the issue in the first place (TeX live seems to accept\bibliography{xampl.bib}
), but that is not what I'm primarily asking for. I think it is perfectly fine to support only documented use of the command (without the.bib
file extension).The text was updated successfully, but these errors were encountered: