Mattero supports generating a document for a selected contact.
To set this up the Document Template must contain contact variable fields. These are discoverable from System > Document Templates > Available Fields
On selection of 'New Document from Template' you will be prompted to nominate a contact from the Matter Contacts.
On merge the selected contacts information will be automatically merged into the document and saved to the Matter document list.