0

A couple weeks ago I didn't have any issue when using Bibtex on a document where the different parts were included with \include commands, but today I updated Miktex, and now it seems not to work anymore. Now when I compile the main document I get an error message that says

I couldn't open auxiliary file section.aux

---line 3 of file test.aux

: @input{section.aux

: }

I'm skipping whatever remains of this command

Here's a minimal (non)working example : my main file "test.tex" is just

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\begin{document}
\include{section}
\bibliography{reference}
\bibliographystyle{plain}
\end{document}

where the file "section.tex" is just

\section{My section}
I need to test the citations, so see \cite{A}.

and the file "reference.bib" just contains one reference. It works like a charm if I add the section directly or if I \input it, but with \include it just gives the error message as above. I tried with different editors (Texniccenter, Texmaker, Texstudio and Texworks) and it seemed to have the same issue each time. What is causing this problem ?

P.S. I've looked at an old version of my document that used to work, and I've noticed a difference in the .aux files : the old version has, near the beginning, a line

\bbl@cs{beforestart}

whereas in the newer versions it seems that this line has become

\@nameuse{bbl@beforestart}

I'm not sure it's related or if it makes any sense, but I thought I'd add it in case it made a difference.

1

This was a short-lived bug in MikTeX 7440 that came as a result of the changes for https://github.com/MiKTeX/miktex/issues/541. See https://github.com/MiKTeX/miktex/issues/546 for the bug report.

The issue was resolved with the MikTeX updates from 2020-05-19. An updated BibTeX that does not have the bug any more identifies as

MiKTeX-BibTeX 2.9.7444 (0.99d) (MiKTeX 2.9.7440 64-bit)

when you call bibtex --version.

| improve this answer | |
  • Great, thanks for reporting the bug ! – Arnaud D. May 20 at 8:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.