[CH3:1][C:2]1[CH:10]=[C:9]2[C:5]([CH2:6][C:7](=[N:12]O)[C:8]2=[O:11])=[CH:4][CH:3]=1.[OH-].[Na+].C1(C)C=CC(S(Cl)(=O)=[O:23])=CC=1.C(O)(=O)CC(CC(O)=O)(C(O)=O)O>O>[C:7]([CH2:6][C:5]1[CH:4]=[CH:3][C:2]([CH3:1])=[CH:10][C:9]=1[C:8]([OH:11])=[O:23])#[N:12]6-Methyl-2-hydroxyimino-1-indanone (37 g) and sodium hydroxide (19.7 g) were dissolved in water (287 mL), and p-toluenesulfonyl chloride (44.3 g) was added with stirring at 50° C. After the completion of the reaction, aqueous citric acid solution was added to acidify the reaction mixture, and the mixture was extracted with ethyl acetate. The organic layer was washed with saturated brine and dried over magnesium sulfate. The solvent was evaporated. Ether was added to the precipitated crystals, and the crystals were collected by filtration to give 2-cyanomethyl-5-methylbenzoic acid (16.3 g).