Synthesis of Indazole-N-oxides via the 1,7-Electrocyclization of Azomethine Ylides.