add months support, cleanup latex map