Cyano compounds of formula XVI in which one or both of R1 and R2 are other than H may be prepared from the corresponding cyano compounds of formula XVI in which R1 and/or R2 are H, for example by alkylation with an alkyl halide in the presence of a base such as lithium diisopropylamide.