latex_reader: support gif width