Make the toc file work with bookparts, too