added function to extract bibtex entries by cite links from a buffer