16

Having looked through some posts, I still could not find a solution to this issue.

As \pdfinfo{...} is not working while using the package hyperref. So I was wondering, how to invoke the commands such as /CreationDate /ModDate within \hypersetup

The following codes will not work while the package hyperref is loaded.

\pdfinfo{
      /Author {Nicola Talbot}
      /Title  {Creating a PDF document using PDFLaTeX}
      /CreationDate {D:20040502195600}
      /ModDate {...}
      /Keywords {PDF;LaTeX}
       }
KOF
  • 5,019

1 Answers1

15

According to the documentation of hyperref,

\hypersetup{
  pdfinfo={
    Author={Tizio Sempronio},
    Title={Creating a PDF document using PDFLaTeX},
    CreationDate={D:20040502195600},
    ModDate={...},
    Keywords={PDF;LaTeX},
  }
}

should work.

egreg
  • 1,121,712