[CH:1]([C:3]1[CH:12]=[CH:11][C:6]([C:7]([O:9][CH3:10])=[O:8])=[CH:5][CH:4]=1)=O.C(O)(=O)[CH2:14][C:15]([OH:17])=[O:16].N1CCCCC1>N1C=CC=CC=1>[CH3:10][O:9][C:7]([C:6]1[CH:11]=[CH:12][C:3]([CH:1]=[CH:14][C:15]([OH:17])=[O:16])=[CH:4][CH:5]=1)=[O:8]A solution of methyl p-formylbenzoate (12.33 g), malonic acid (16 g) and piperidine (1 ml) in pyridine (100 ml) is refluxed for two hours. The reaction mixture is poured into ice-water, and the precipitated white powder is collected by filtration, and washed with water, and dried to give 4-methoxycarbonyl cinnamic acid (14.7 g).