# What kind of PDF files that MMA does not read (import)

SORRY that I have tried 5 different files, which were too complicated for MMA to import. So I thought that maybe it just does not read any files. But I was wrong. So edited my question.

In here, is a PDF file that MMA would not read.

Import::general: Expected cross reference table >>

Import::general: Expected cross reference table >>

Import::general: Could not find document trailer >>

General::stop: Further output of Import::general will be suppressed during this calculation. >>

Why does it not read this "simple" PDF file?

Sometimes, MMA would not read a different PDF and gives some error. Is there a list of features that MMA does support for PDF files?

• Do you mean that it doesn't work with any PDF files? Did you try any other files at all? Does ImportString@ExportString[Graphics[Circle[]], "PDF"] work? – Szabolcs Dec 29 '14 at 23:07
• This message simply means that PDF.exe has crashes. Windows likes to say that "it stopped working" but despite what that phrasing suggest that doesn't mean it won't work in the future. – Szabolcs Dec 29 '14 at 23:08
• @Szabolcs None of the PDF files work. I think the file PDF.exe has just corrupted (broken). – Chen Stats Yu Dec 29 '14 at 23:08
• Can you post an example of a simple PDF that you cannot import even after restarting Mathematica? – Szabolcs Dec 29 '14 at 23:09
• @Szabolcs Yes, I understand. All I want to know is that since MMA calls this PDF.exe file, apart from reinstall the whole 5G program again. Is there any other work around? – Chen Stats Yu Dec 29 '14 at 23:10

There is (very likely) nothing you can do to make Mathematica read this file. Your best best is transforming the PDF without changing it visually, then trying to import it again. There are many programs that can do this, including Adobe Acrobat, Ghostscript (pdfopt?), OS X Preview, Multivalent, etc.
• Yes, thanks. Like in the original post, I was just exploring the feature of reading PDF files. Is there a particular reason this files can not be read? I would not think there is anything speacil. On a similar related question, the PDF files can not be edited corrected using Adobe Acrobat, the text(values) CHANGES. mathematica.stackexchange.com/questions/69287/… – Chen Stats Yu Dec 29 '14 at 23:46