Ok, first of all I'm quite aware there are a couple of question that address this issue. More in specific:
I tried using the hyperxmp
package, as described this answer in question 1 , but I still didn't see the copyright property. All I got was a PTEX.Fullbanner
with value This is MikTeX 2.9.4535(1.40.13)
.
Question 2 refers to many document properties, and although I have used them (more specifically, I'm using \usepackage[pdfusetitle]{hyperref}
), I wasn't able to use the pdfcopyright
property and the hyperxmp
package with success (I just wasn't getting anything on the PDF properties, except for the same PTEX.Fullbanner
with value This is MikTeX 2.9.4535(1.40.13)
I ran the code presented in question 3 and I still do not get any copyright info in Adobe Reader.
(Question 3 Code):
\documentclass{article}
\usepackage{lipsum}
\usepackage{hyperref}
\usepackage{hyperxmp}
\makeatletter
\AtEndDocument{\hyxmp@find@metadata\hyxmp@embed@packet}
\makeatother
\hypersetup{
pdfauthor={Brent Longborough},
pdftitle={O Hai},
pdfcopyright=Copyright © 2012 by Brent Longborough. All rights reserved.}
\begin{document}
\lipsum[1]
\end{document}
I have tried running pdfLaTeX
, XeLaTeX
and LuaLaTeX
, but I still have this property empty in the PDF. I tried removing the \AtEndDocument{\hyxmp@find@metadata\hyxmp@embed@packet}
and I still got nothing. Is there something I'm missing? Is this even possible with Adobe Reader?
Please note
I would like not to use any additional file than my .tex one. (That was the idea behind using the hyperxmp
package
My specific code
\documentclass{report}
\usepackage{lipsum}
\usepackage[pdfusetitle]{hyperref}
\usepackage{hyperxmp}
\title{Titulo}
\author{Autor}
\hypersetup{
pdfcopyright={\copyright Date by Aauthor. All rights reserved.}%
}
\begin{document}
\lipsum[1]
\end{document}
Best Answer
Your example is working as expected, the problem is that Adobe Reader unfortunately doesn't support showing these XMP properties:
(as already pointed out by Robert). In Adobe Acrobat on the other hand, you have a button Additional metadata... in Document Properties→Description which reveals this dialog:
If you want to also have your copyright information visible in Adobe Reader, you can add a custom metadata field to the document information directory using the
pdfinfo
key (as demonstrated in How to add copyright information to PDF metadata):Of course, this is a non-standard approach, but it has the advantage of working with Adobe Reader while still including XMP metadata which e. g. can be extracted automatically.