rtf: generate Document Reference metadata for the table of contents