[C:1]([C:4]1[CH:5]=[C:6]([C:10]([O:12][CH3:13])=[O:11])[CH:7]=[N:8][CH:9]=1)(=[O:3])[CH3:2].CO[CH:16](OC)[N:17]([CH3:19])[CH3:18].C(OCC)(=O)C>O1CCCC1>[CH3:16][N:17]([CH3:19])[CH:18]=[CH:2][C:1]([C:4]1[CH:5]=[C:6]([C:10]([O:12][CH3:13])=[O:11])[CH:7]=[N:8][CH:9]=1)=[O:3]The mixture of methyl 5-acetyl-3-pyridinecarboxylate (3.0 g) and N,N-dimethylformamide dimethyl acetal (6.7 ml) in tetrahydrofuran (30 ml) was heated under reflux for 6 hours. To the mixture was added a mixture of ethyl acetate and tetrahydrofuran, and the mixture was washed with brine and dried over magnesium sulfate. The solvent was removed by concentration and the residue was triturated with diisopropyl ether to give methyl 5-(3-dimethylamino-1-oxo-2-propenyl)-3-pyridinecarboxylate (1.88 g).