add an option to allow bib in toc