TocPane::add: change the parameters to document::toc_entry