Improve LaTex handling.
A bit more logging.
Updated with information of markup support removal.