treat references with bibtex