PDF paper size inherits from first section of document