document: use Document Reference metadata for the table of content if present