[CH3:1][N:2]1[CH:7]=[CH:6][C:5]([CH:8]=O)=[CH:4][C:3]1=[O:10].[C:11]([O:17][CH2:18][CH3:19])(=[O:16])[CH2:12]C([O-])=O.N1CCCCC1>N1C=CC=CC=1>[CH3:1][N:2]1[CH:7]=[CH:6][C:5]([CH:8]=[CH:12][C:11]([O:17][CH2:18][CH3:19])=[O:16])=[CH:4][C:3]1=[O:10]N-Methyl-4-formyl-2-pyridone* (30.17 g), monoethyl malonate (38.15 g), pyridine (150 ml) and piperidine (3 ml) were stirred under reflux for 61/2 hours. The reaction mixture was evaporated under reduced pressure to afford a residue which was crystallised from aqueous isopropanol to give ethyl β-(N-methyl-2-oxo-4-pyridyl)acrylate as a pale yellow solid (18.44 g), m.p. 126°-7° C.