pdf: generate Document Reference metadata for the table of contents