I'm trying to create a PDF/X-1a compliant PDF, using pdfx and the [jobname].xmpdata external file. Not ever going to buy Adobe products as they require a prohibitive subscription fee.
For some reason the metadata isn't showing up when I use the Preview.app. I'm using MacTeX TeX Live 2016 on macOS Sierra. A quick test using Scribus results in metadata displaying properly using Preview.app.
Specifically, The "Author", "Subject" and "Keywords" are not displaying when processing with pdflatex using package pdfx.
This is 00.tex:
\documentclass{memoir}
\pdfcompresslevel=0
\pdfobjcompresslevel=0
\usepackage[x-1a1]{pdfx}
\usepackage{lipsum}
\begin{document}
\pagestyle{plain}
\chapter{Chapter 1}
\lipsum[1]
\chapter{Chapter 2}
\lipsum[2]
\end{document}
This is the metadata file, 00.xmpdata:
\Author{The Author}
\Title{Book Title Here}
\Keywords{Keyword1\sep Keyword2\sep Keyword3\sep Keyword4\sep Keyword5}
\Subject{The Subject Line Here}
\pdfxSetRGBcolorProfileDir{./}
\pdfxSetCMYKcolorProfileDir{./}
\SWOPCGATSI
I've also included USWebCoatedSWOP.icc and AdobeRGB1998.icc in the same directory as 00.tex and 00.xmpdata.
The command I use to create the PDF is: pdflatex 00.tex
Everything seems to be setup for a solid PDF/X-1a build. No errors are encountered when I typeset. Note: I use Terminal only, no GUI
The Terminal environment is setup properly. Pathing works and finds everything.
PATH=/Library/TeX/texbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
- tlmgr revision 41476 (2016-06-18 02:45:25 +0200)
- tlmgr using installation: /usr/local/texlive/2016
- TeX Live (http://tug.org/texlive) version 2016
- pdfx package revision: 41318
- memoir package revision: 41203
- pdflatex version: pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016)
- kpathsea version 6.2.2
After creating the PDF and using macOS Sierra Preview.app the Preview Menu "Tools >> Show Inspector" results in a lack of data for Author, Subject and Keywords.
Upon looking inside the PDF (because I did not let it compress) I find the location where the pdfx.xmpi data is located. The PDF and pdfx.xmpi are exactly the same. Not sure where to go at this point?