backtracking/bibtex2html

bibtex: Not writing to /tmp/bib2html*.blg (openout_any = p) on newer texlive installations

Closed this issue · 2 comments

On my new Fedora 25 installation bibtex2html (v1.97) fails to execute with the following error (twice per invocation, actually):

calling BibTeX...
bibtex: Not writing to /tmp/bib2html3d1304.blg (openout_any = p).
I couldn't open file name `/tmp/bib2html3d1304.blg'
error 1 while running bibtex

In the /tmp directory one can see that only the respective .aux files were created, but newer default configurations of BibTeX appear to refuse writing to files outside the current working directory (it's not related to the version of BibTeX itself, my old installation which worked out of the box was a TeX Live 2013/Debian build of BibTeX 0.99d, the new one where I encountered the problem is a new 2016 build installation, also of 0.99d).

Workaround: one can change the write restriction (globally) by finding the local texmf.cnf file (mine was in /usr/share/texlive/texmf-dist/web2c/, elsewhere I read /usr/share/texlive/texmf/web2c/) and changing the openout_any setting to either r or a (just away from p). This works for now, but it would probably be preferrable to leave that setting as it is and simply have bib2html create the temp files in the directory where it is invoked (the temp file names already have random bits in them so that shouldn't be a problem?)

Thanks for bib2html! :)

My apologies, the bibtex2html website didn't come up when I googled for the error and on github I merely looked for it in the issues (didn't realise it's already been affecting other Texlive installations for so long!)