I am trying to get a PDF/X-1a compliant PDF for sending the pdf to Lightning Source for publishing books.
I searched and found the following post and tested it
PDF/A with hyperref on TeX Live 2013
And ran the following code in TexStudio
% ===============================
% Filename: test.tex
\documentclass{article}
% ===============================
% Embedding the color profile.
% Requires eciRGB_v2.icc in the working directory
% http://www.eci.org/_media/downloads/icc_profiles_from_eci/ecirgbv20.zip
\pdfminorversion 4
\immediate\pdfobj stream attr{/N 3} file{eciRGB_v2.icc}
\pdfcatalog{%
/OutputIntents [ <<
/Type /OutputIntent
/S/GTS_PDFA1
/DestOutputProfile \the\pdflastobj\space 0 R
/OutputConditionIdentifier (eciRGB v2)
/Info(eciRGB v2)
>> ]
}
\usepackage{xcolor}
\usepackage{hyperxmp}
\usepackage[pdftex, pdfa, linktoc=none]{hyperref}
% ----------------------------------------------
% Add metadata
\hypersetup{%
pdftitle={Title},
pdfauthor={Author},
pdfauthortitle={Title of the Author},
pdfcopyright={Copyright (C) 20xx, Copyrightholder},
pdfsubject={Something},
pdfkeywords={Keyword1, Keyword2},
pdflicenseurl={http://creativecommons.org/licenses/by-nc-nd/3.0/},
pdfcaptionwriter={Scott Pakin},
pdfcontactaddress={Street},
pdfcontactcity={City},
pdfcontactpostcode={101},
pdfcontactcountry={Country},
pdfcontactemail={email@institute.edu},
pdfcontacturl={http://www.institute.edu},
pdflang={en},
bookmarksopen=true,
bookmarksopenlevel=3,
hypertexnames=false,
linktocpage=true,
plainpages=false,
breaklinks
}
\begin{document}
What cat says? \label{meow}
See question on page \pageref{meow}.
\end{document}
Then ran the Preflight in Adobe Acrobat Pro XI, for PDF/A-1b varification, it came out with no problems.
how changes do we have to make it to work with PDF/X-1a and PDF/X-3?
Is there a way to get PDF/X-1a fully compliant pdf with PDFLaTex or XeLateX or LuaLaTeX?