My previous post described how to put links in a PDF file generated from LaTeX. The hyperref package that lets you to include links also lets you to set PDF document properties. I’ve been using Adobe Acrobat to do this after creating my PDF file with pdflatex, but that’s unnecessary. Here’s how to put the PDF properties directly in the LaTeX file. Add something like this
\hypersetup
{
pdfauthor={John Hancock},
pdfsubject={Some subject},
pdftitle={Sample document},
pdfkeywords={LaTeX, PDF, hyperlinks}
}
after the \usepackage{hyperref} instruction at the top of your file.


{ 2 trackbacks }
{ 4 comments… read them below or add one }
Andreas 11.28.08 at 07:58
Cheers! Just what I was searching for=)
John 07.16.10 at 17:21
See additional notes on hyperref in answer to a StackOverflow question.
Rafael 07.30.10 at 12:14
Great tip. Thanks
Jeremy 12.01.11 at 09:56
How can I use the author and title definitions from the \author{…} and \title{…} commands? This would make my life easier.