[F:1][C:2]1[CH:18]=[CH:17][C:5]([C:6]([C:8]2[C:9]([C:14]([OH:16])=[O:15])=[N:10][CH:11]=[CH:12][CH:13]=2)=[O:7])=[CH:4][CH:3]=1.[N+](=[CH2:21])=[N-]>>[F:1][C:2]1[CH:18]=[CH:17][C:5]([C:6]([C:8]2[C:9]([C:14]([O:16][CH3:21])=[O:15])=[N:10][CH:11]=[CH:12][CH:13]=2)=[O:7])=[CH:4][CH:3]=1Treatment of 3-(4-fluorobenzoyl)pyridine-2-carboxylic acid with diazomethane, followed by silica gel chromotography (using hexanes-EtOAc (3:2) as the eluent), gives pure 3-(4-fluorobenzoyl)-2-carbomethoxypyridine.