Alternatively, the compounds of formula I wherein A is straight or branched alkylene of 2 to 8 carbons can be prepared by combining the anion of the substituted naphthalimide of formula VIII, described above, with a solution of the compound of formula X, ##STR12## wherein Y is a leaving group as previously defined.