Synthesis of heterocycles. Part V. The synthesis of substituted indenopyridines