add "handling document relationships" section to generated pdf