Synthesis of di-, tri-, and tetrasubstituted pyridines from (phenylthio)carboxylic acids and 2-[aryl(tosylimino)methyl]acrylates.