I am trying to produce a valid PDF/X1-A document. I'd like to start with the simplest document possible that passes PDF validation. Here is what I have currently, and the current set of errors as reported by PDFBox's preflight-app-1.8.16.jar
.
I've also tried reusing the examples in this thread but I'm getting most of the same errors. Maybe some things changed since ~2015?
I'm sure there's a long list of things that I'm doing wrong, can someone help? Thank you!
minimal.tex:
\documentclass[cmyk]{article}
\usepackage[x-1a]{pdfx}
\usepackage{hyperref}
\begin{document}
Hello, world!
\end{document}
minimal.xmpdata:
\Title {Minimal Example}
\Author {Me, myself and I}
\Copyright {Copyright \copyright\ 2018 "Me, myself and I, inc."}
\Keywords {minimal\sep
pdf\sep
example}
\Subject {A minimal example of a valid PDF/X-1A document.}
After compiling with pdflatex
(version 3.14159265-2.6-1.40.18), output of preflight
:
The fileminimal.pdf is not valid, error(s) :
2.1.3 : Invalid Graphis object, The S entry of the OutputIntent isn't GTS_PDFA1
2.4.2 : Invalid Color space, The operator "K" can't be used with RGB Profile
2.4.3 : Invalid Color space, The operator "g" can't be used without Color Profile
2.4.3 : Invalid Color space, The operator "G" can't be used without Color Profile
2.4.2 : Invalid Color space, The operator "k" can't be used with RGB Profile
2.4.2 : Invalid Color space, The operator "K" can't be used with RGB Profile
2.4.2 : Invalid Color space, The operator "k" can't be used with RGB Profile
2.4.2 : Invalid Color space, The operator "K" can't be used with RGB Profile
2.4.2 : Invalid Color space, The operator "k" can't be used with RGB Profile
2.4.2 : Invalid Color space, The operator "K" can't be used with RGB Profile
7.11 : Error on MetaData, PDF/A identification schema http://www.aiim.org/pdfa/ns/id/ is missing