Inserting data about article to the PDF
It is possible to pass title and author of the article to the appropriate hyperref package options? I want to be the values of \title - Title of the article and \author - A.U. Thor automatically assigned to pdftitle and pdfauthor.
\documentclass[]{article}
\usepackage{lipsum}
\RequirePackage[colorlinks=true,
urlcolor = blue, %Colour for external hyperlinks
linkcolor = red, %Colour of internal links
citecolor = green, %Colour of citations
bookmarks,
bookmarksnumbered=true,
unicode,
linktoc = all,
hypertexnames=false,
pdftitle={Title of the article},
pdfauthor={A.U. Thor}]{hyperref}
%opening
\title{Title of the article}
\author{A.U. Thor}
\begin{document}
\maketitle
\section{One}
\lipsum[1-3]
\end{document}
Extracting data from PDF
I have another question, which is relate to this one. In the referred question, the .tex file reads the data about title and authors from external .dat-file and then use it for some purposes (creating TOC, for example).
Now I want to use only .pdf as a data container.
Thus, how it is possible to extract appropriate fields from PDF file to the LaTeX using pdfpages package?


authorandtitle. You would need to assure that hyperref is loaded an all that. – Johannes_B Jan 28 '15 at 11:01