Transition metal-mediated intramolecular [2+2+2] cycloisomerizations of cyclic triynes and enediynes.