Feature/bug latex index