Regiospecific synthesis of pyrido[3,4-b]- and pyrido[4,3-b]carbazole-5,11-dione derivatives. Evaluation of their in vitro antifungal or antiprotozoological activities.