Handle TeX documents with no graphics