with polycarboxylic acids or with anhydrides, halides, or low-molecular-weight esters thereof