format all chapters