After not updating my MiKTeX 2.9 for a very long time, I did it a few days ago. I had
pdfTeX 3.14159265-2.6-1.40.16, LaTeX2e <2014/05/01>, babel <3.8m>,
and now I have
pdfTeX 3.14159265-2.6-1.40.17, LaTeX2e <2016/03/31>, babel <3.9r>.
Something (bad) happened in between: now, whenever I use the babel package (with any language), MiKTeX tells me that bblopts.cfg is missing and requires the installation of the arabi package - which actually contains that file.
Note that I don't even have arabic hyphenation in the format file and, after ignoring that request, the tex file is compiled without errors. Indeed, the rather weird fact is that bblopts.cfg is an optional file: it only appears in this line of babel.sty code:
\InputIfFileExists{bblopts.cfg}...
Anyway.... To overcome the impasse, since I don't need the arabi package, I simply created an empty bblopts.cfg file. The very weird behaviour of MiKTeX follows:
If
bblopts.cfgis in the tex path, e.g.,C:\localtexmf\tex\generic\babel,findtexmfreturns the correct pathC:\localtexmf\tex\generic\babel,MiKTeX includes
bblopts.cfg, as the log file shows* Local config file bblopts.cfg used
*
(C:\localtexmf\tex\generic\babel\bblopts.cfg).but it still says that
bblopts.cfgis missing and that I have to install thearabipackage!
If
bblopts.cfgis in the current folder,findtexmfreturns the correct path.\bblopts.cfgMiKTeX includes
bblopts.cfg, as the log file shows* Local config file bblopts.cfg used
*
(bblopts.cfg).and no warnings or package installation requirements appear!
Does anyone have a clue? Is it just me or is it a MiKTeX bug?? If you want to try, be sure not have the arabi package installed and add the babel package to your tex file. A toy example could be:
\documentclass{article}\usepackage[british]{babel}\begin{document}.\end{document}
Just in case it matters: my OS is Windows 7 SP1 Enterprise...
arabipackage installed, and I don't have problems withbabel. Did you try redoing the formats? – Bernard Jun 07 '16 at 17:17arabipackage, so I don't have the originalbblopts.cfganywhere. What I don't understand is why MiKTeX says that an optional file is missing (by definition,\InputIfFileExistsshould do nothing if the file isn't there!), and why it insists in requesting a package that contains that file even if it finds and includes that file! – pav Jun 08 '16 at 21:21