text: The enamine is generally generated in situ from catalytic amine (such as pyrrolidine) and a ketone. The enamine then reacts as the dienophile with a 1,2,4-triazine. The initial adduct then expels nitrogen, and the pyridine is rearomatized with loss of the amine.