first draft of auto-bib detection
first draft of auto-bib detection