I am trying to get the metadata to work with my PDF/A compliant document.
For some reason, only the title and subject show up.
I am using Overleaf to compile.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% DEFINE THE METADATA REQUIRED FOR PDF/A %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pdfinfo{
/Author (Author Name)
/Title (Title Here)
/Subject (PhD Thesis)
/Keywords (Keyword1, Keyword2)
/Publisher (Publisher here)
}
%%%%%%%%%%%%%%%%%%%%%%%%%
%%% DOCUMENT PREAMBLE %%%
%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[letterpaper, hidelinks, oneside, 12pt]{report}
\usepackage[letterpaper, left=1.5in, top=1in, bottom=1in, right=1in, nohead, includefoot]{geometry}
\usepackage[toc, page]{appendix}
\usepackage{setspace}
\usepackage{array}
\usepackage{color}
\usepackage{cancel}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{acronym}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{multirow}
\usepackage{enumitem}
\usepackage{booktabs}
\usepackage[a-3b]{pdfx}
\usepackage{parskip}
\usepackage{calc}
\begin{document}
Words
\end{document}
EDIT
As mentioned regarding pdfx
I have also tried the following instead of the pdfinfo
technique; however, NO metadata shows up.
\begin{filecontents*}{Thesis.xmpdata}
\Title{Title Here}
\Author{Author Name}
\Subject{Subj Here}
\Keywords{Keyword1 \sep Keyword2}
\end{filecontents*}
\begin{document}
and\end{document}
. That should be all that's needed. I use every package listed as far as I can recall.pdfinfo
, and the newer XMP metadata. Please read the documentation of thepdfx
package to see how to use adocname.xmpdata
file to specify XMP metadata.