added some functionality towards easier bibtex copy-paste