resolves #486 add docinfo option for footer