There are several discussions on the web on how to generate PDF/A-1b compliant documents.
One approach can be found on http://support.river-valley.com/wiki/index.php?title=Generating_PDF/A_compliant_PDFs_from_pdftex which is implemented as far as I can see in the pdfx
package.
I created a minimal test.tex
file:
\documentclass{article} \usepackage[a-1b]{pdfx} \begin{document} Hello, world! \end{document}
From what I understand, I need to place metadata in a separate file called test.xmpdata:
\Title{PDF/A-Compliance} \Author{Ada Lovelace} \Org{TeX University} \Keywords{PDF/A}
I compile test.tex
using pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian).
For validation of PDF/A-1b compliancy, I use jhove
and a PDF export from LibreOffice as a positive control.
jhove -m pdf-hul test.pdf
However, jhove laments
ErrorMessage: Lexical error Offset: 16530
So my test.pdf
file does not seem to be PDF/A compliant.
Could you please give me hints on additional diagnostics to run in order to pin down the problem?
pdfinfo test.pdf
isn't showing the correct metadata either.