bibtex-related fixes