adding automated latex installation