# Generate pdfx a-b1 with Lualatex

update since pdfx and hyperxmp is not copatible

I try to use lualatex to generate pdf a-b1 compatible files without creating and xmp file. My attempt does not work.

The pdf is generated but adobe reader does not show that the meta data was set.

MWE:

 \documentclass{article}
\usepackage{luatexbase}

%%%%%%%%%%%% PDF and PDF/A
\usepackage[a-1b]{pdfx}

\hypersetup{%
breaklinks=true,
hyperindex=true,
colorlinks=false,
hidelinks=true,
unicode=true,
pdfauthor={Author},
pdfauthor={Author},
pdfsubject={The Subject},
pdfkeywords={Some Keywords},
pdflang={en},
bookmarksopen=false,
linktocpage=true,
plainpages=false,
breaklinks,
pdfpagelabels
}

\begin{document}
\tableofcontents
\section{gg}
gg
\end{document}

• hyperxmp and pdfx are not compatible. – Ulrike Fischer Jul 7 at 13:25
• Does there exist any method to the xmp data of pdfx file that use native latex interface? I want to define title, author, etc only at one place. – Johan Jul 7 at 13:34