TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
PDF conformance tool

I have created PDF-files using XeLaTeX and there has been no problem when I have shared these files with co-workers using Acrobat Reader. But when I tried to upload these files to a special www-based form, I received an error message that basically claimed that my PDF-files were no real PDF-files. Later I checked the beginning of the files and they began with %PDF-1.5 which I believe is according to the standard.

My main question is how I can use XeLaTeX or PDFLaTeX to generate PDF-files compliant to the standard and not causing errors?

Minor followupquestions: Can XeLaTeX and/or pdfLaTeX generate PDF-files compliant to the standard? Any thoughts on what caused my problem? How to check validate a PDF-file? How to circumvent compatibility issues?


I made some extensive testing and found that the www-based form that received my files in general has no problem with PDF-files generated using XeTeX or pdfTeX. This was what I expected from the start since I believed that XeTeX and pdfTeX followed the open PDF-standard (ISO).

My root cause of my problem described above was a particular EPS-file that was included when producing my PDF-files. Other EPS-files does not cause problem when used with TeX. If the problematic EPS-file is inserted in an ODT-document using LibreOffice and a PDF-file is exported, there is no problem with the PDF-file.

Thus, I have found a compatibility problem between XeTeX/pdfTeX and a particular EPS-file. Any thoughts on how to check for compatibility between EPS and XeTeX/pdfTeX, and how to circumvent problems?

share|improve this question

marked as duplicate by Martin Schröder, diabonas, percusse, Paul Gaborit, Marco Daniel Sep 18 '12 at 17:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Do you know which kind of pdf file this www based form wants? PDF/A, PDF/X, version? PDF-1.5 is a standard, perhaps pdf 1.3 is better in your case. – Kurt Sep 18 '12 at 0:29
Related Question: The file does not conform to Adobe's published PDF. Even though this question has been closed I think it would be helpful to have some sort of tool that confirms that the file compiles with a standard -- just the fact that it opens in a particular PDF reader does not meant hat it will necessarily open with other PDF readers. – Peter Grill Sep 18 '12 at 3:04
Convert your eps files to pdf using a higher version compatibility. – percusse Sep 18 '12 at 17:12

All PDF producing TeX engines (pdfTeX, XeTeX, LuaTeX) typically produce standard-compliant PDFs - iff the standard is ISO 32000-1:2008. Ofther PDF standards like PDF/X or PDF/A are also somewhat possible.

share|improve this answer
Thanks @martin-schroder. Please see my update to the question. Any thoughts? – mghg Sep 18 '12 at 16:54
@mghg: pdfTeX doesn't handle eps natively: they must be converted (TeXLive now does this automagically). – Martin Schröder Sep 18 '12 at 18:46

pdfx package can help you generate pdf/x-1a or pdf/a-1b compliant documents using pdfLaTeX. This could be one of the formats expected. pdfx.sty is incompatible with XeLaTeX. Acrobat professional version is needed to check the pdf generated.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.