[CH3:1][O:2][C:3]1[CH:4]=[C:5]2[C:10](=[CH:11][CH:12]=1)[CH:9]=[C:8]([CH2:13][C:14]([OH:16])=[O:15])[CH:7]=[CH:6]2.[C:17](=O)(OC)OC.C([O-])([O-])=O.[K+].[K+]>>[CH3:1][O:2][C:3]1[CH:4]=[C:5]2[C:10](=[CH:11][CH:12]=1)[CH:9]=[C:8]([CH2:13][C:14]([O:16][CH3:17])=[O:15])[CH:7]=[CH:6]2Alternatively, the reaction for the selective methylation can be carried out by reacting a mixture of (6-methoxy-2-naphthyl)acetic acid, dimethyl carbonate and K2CO3, in the 1:20:2 molar ratio, in autoclave at a temperature of 220° C. The reaction is completed within about 8 hours. (In this case DMC acts first as a methylating agent for the carboxylic group, through an already known reaction; then the monomethylation reaction takes place on the resulting ester).