I'd like to generate a PDF/A-compliant document. Thus I need to embed the metadata using XMP but somehow the following MWE doesn't work.



\Title{My Sample Title} 


How can I fix this and what's up with packages like hyperxmp?

  • 2
    "does not work" is not an appropriate error message. What is the exact error you get? – user26372 Mar 22 '13 at 12:37
  • 1
    Just move the \newcommand{\Subject}{...} line before \usepackage[a-1b]{pdfx} – egreg Mar 22 '13 at 12:47
  • Well, there isn't any error but the PDF doesn't contain any metadata afterwards. Moving the subject line or leaving out the subject at all doesn't help either. – sdf Mar 22 '13 at 13:05
  • 1
    Do you have ISOcoated_v2_300_bas.ICC in your computer somewhere? See : Add metadata in pdf as type pdf/a – user11232 Mar 22 '13 at 13:15

Your provided example works fine for me. Therefore, I have to assume there is some confusion about the XMP Metadata and/or the process on how to typeset the document.

First of all, XMP metadata is not the PDF metadata, e.g. XMP data can be viewed by using Adobe Acrobat: File, Properties, Additional Metadata; whereas the normal metadata already shows up under file, properties.

Secondly: Do you use pdflatex to create your document?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.