Attempt to handle images in latex