[Tex/LaTex] How to generate PDF/A and PDF/X


I have heard about PDF subsets PDF/A (for archival) and PDF/X (for printing). How to generate LaTeX documents like that?

I'm also interested in answers with plain TeX and ConTeXt, and hopefully with both pdfTeX and XeTeX engines.

Best Answer

ConTeXt now supports PDF/X out of the box. You need the latest version of ConTeXt for this to work (that is, the version from TL 2010 does not have this support). This only works with MkIV (that is, luaTeX) and not pdfTeX and XeTeX.

Basically, all you need to do is


and then


See context wiki for details.