formatting abstractPrimaryDocument