Added --latex output support