Show latex compilation output in a modal popup.