[F:1][C:2]1[C:9]([OH:10])=[C:8]([F:11])[CH:7]=[CH:6][C:3]=1[CH:4]=O.C(O)(=O)[CH2:13][C:14]([OH:16])=[O:15]>N1C=CC=CC=1.N1CCCCC1>[F:1][C:2]1[C:9]([OH:10])=[C:8]([F:11])[CH:7]=[CH:6][C:3]=1/[CH:4]=[CH:13]/[C:14]([OH:16])=[O:15]A mixture of 2,4-difluoro-3-hydroxybenzaldehyde (0.255 g, 1.613 mmol) and malonic acid (0.168 g, 1.613 mmol) in pyridine (6 ml) and piperidine (0.06 ml) was heated to reflux for 1 h. All the volatile were removed and the residue was partitioned between NaHCO3 sat. and Et2O. The aqueous phase was acidified with 37% HCl until pH <3 and extracted with AcOEt. The organic layer was dried over sodium sulphate and evaporated to give (E)-3-(2,4-difluoro-3-hydroxyphenyl)acrylic acid (280 mg) as pale a brown solid. The compound was used in the next step without further purification.