[F:1][C:2]1[CH:3]=[C:4]([CH:7]=[CH:8][CH:9]=1)[CH:5]=O.C(O)(=O)[CH2:11][C:12]([OH:14])=[O:13].N1CCCCC1.Cl>N1C=CC=CC=1>[F:1][C:2]1[CH:3]=[C:4]([CH:7]=[CH:8][CH:9]=1)[CH:5]=[CH:11][C:12]([OH:14])=[O:13]A solution of 3-fluorobenzaldehyde (10 g), malonic acid (15.6 g) and piperidine (0.7 ml) in pyridine (35 ml) was heated at reflux for 3.5 hours. After cooling to room temperature, the reaction mixture was added to a mixture of ice water (210 ml) and conc. hydrochloric acid (56 ml). The precipitate was isolated by filtration and recrystallized from methanol/water to give 3-fluorocinnamic acid (11.3 g).