Working on trying to adapt bibtex