gem to convert latex document in a image file