put the doc of attachment to mandatory and re-typeset it