A formal total synthesis of (+/-)-cephalotaxine using sequential N-acyliminium ion reactions.