The Wittig condensation of o-phthalaldehyde (I) with tert-butyl triphenylphosphoranylideneacetate (II) in methylene chloride gives tert-butyl 3-(2-formylphenyl)-2(E)-propenoate (III), which is then cyclized with ethyl 3-aminocrotonate (IV) in acetic acid.