template pdf footer for customization, fixes #4