2

I am getting a bunch of PDF files from some other source, and I need to change the PDF title via a script, i.e. the title that you can inspect via pdfinfo for example. Does texlive come with some such tool / package? Or are there other packages? I have investigated pdftk and the pdftools, but not found anything so far.

Arne
  • 1,243
  • This is not really a tex related questions, however pdftk can indeed do what you want. Have a look at the update_info command which either take a file or stdin input. – ArTourter May 03 '12 at 10:57
  • 1
    As @ArTourter said pdftk will do the job, here's a tutorial: http://sangonz.wordpress.com/2010/04/11/how-to-edit-pdf-metadata-maclinuxwindows/ – gcedo May 03 '12 at 11:23
  • TeX programs can produce PDF files, but not manipulate them. One way might be to import a complete PDF with \includepdf from pdfpages and set the title; but links in the included PDF will disappear. – egreg May 03 '12 at 11:27
  • I'm sorry but this is not on-topic here and therefore got closed. However, I can tell you that pdftk has an update_info option which should allow you to change the PDF title in the meta-data. – Martin Scharrer May 03 '12 at 11:57
  • Yup, ok. pdftk works and we can close this. :) – Arne May 03 '12 at 13:19
  • FYI, when generating PDFs from TeX (e.g. using markdown2pdf, which because it is part of Pandoc, uses TeX templates), this question has the answer. – Alastair Irvine Apr 01 '15 at 04:31

0 Answers0