I keep trying to compile my document using pdfx; however, the default title does not seem to change. I am trying to input new metadata as follows:

\Title{New Title}
\Author{A. Baker\sep C. Kneader}
\Keywords{cookies\sep muffins\sep cakes}
\Publisher{Baking International}

\documentclass[letterpaper, twoside, 12pt]{report}

However, the default PDF title "Baking through the ages" (see PDF/X documentation) always remains.

Am I missing something basic here?

I am using TeXnicCenter and Foxit PDF reader.

  • 2
    Have you deleted PhDThesis.xmpdata after changing? The filecontents environment does not override files.
    – TeXnician
    Apr 4, 2018 at 19:50
  • Wow, yep, that worked! Thanks. Feel free to make this a formal answer, which I will accept.
    – Shinobii
    Apr 4, 2018 at 19:58
  • @TeXnician Although it is slightly OT: The novel package has built-in PDF/X, which does not load package pdfx or related others. In novel the XMP data is dynamically generated directly from the file metadata, without an external xmpdata file. Now, novel is unsuited to digital file distribution (it is for paper-print only) so it does not allow a variety of metadata that digital publications would have.
    – user139954
    Apr 4, 2018 at 20:32

1 Answer 1


You are using a filecontents environment. This environment does not replace an existing file, so after one LaTeX run you will have your metadata file. If you alter the content of the environment you need to delete the produced file and rerun LaTeX on the TeX file, which in turn generates the new version.

  • Thanks, worked perfectly. Do you know if there is a way to have it overwrite the xmpdata file when rerunning LaTeX?
    – Shinobii
    Apr 5, 2018 at 15:05
  • @Shinobii Unfortunately, I do not know any way to do so.
    – TeXnician
    Apr 5, 2018 at 15:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .