MetaData in Latex

433 views
Skip to first unread message

Murugan S

unread,
Jul 15, 2008, 1:16:12 AM7/15/08
to LaTeX Users Group
Hi

How to insert automatically metadata in pdf file while using latex.


wr

Werner Grundlingh

unread,
Jul 15, 2008, 12:39:17 PM7/15/08
to LaTeX Users Group
Which type of metadata are you referring to? If you are interested in
adding author, title, keyword, etc. information/properties to your
LaTeX document, you can use the hyperref package to do so. The
hyperref package is available online via CTAN from

More specifically, read the documentation on page 8, where you are
able to set the following flags:
pdftitle
pdfauthor
pdfsubject
pdfcreator
pdfproducer
pdfkeywords
using the regular key=value approach, as in
\usepackage[pdftitle={This is a new title},pdfauthor={me}]{hyperref}
You are not required to write this information in your document
preamble at the time you're loading the hyperref package. You could
also add the above information using the \hypersetup macro in the
following way:
\hypersetup{pdftitle={This is a new title},pdfauthor={me}}

Hope this helps,
Werner

Werner Grundlingh

unread,
Jul 15, 2008, 12:40:38 PM7/15/08
to LaTeX Users Group
...sorry, I forgot to add the hyperref package link in the previous
post. Here it is:
http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=hyperref

Murugan S

unread,
Jul 16, 2008, 4:21:08 AM7/16/08
to LaTeX Users Group


ok. its working

we need

prism:aggregationType:
prism:publicationName:
prism:edition:
prism:copyright:
prism:coverDisplayDate:
prism:pageRange:
prism:startingPage:
prism:endingPage:
prism:doi:
prism:url:

any idea to include in latex files.

wr
S. Murugan


Werner Grundlingh

unread,
Jul 16, 2008, 1:10:52 PM7/16/08
to LaTeX Users Group
Although I've never used it, or even know whether this suits your
needs, perhaps the xmpincl package may be of help here. It is
available online via CTAN from
http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=xmpincl
The xmpincl package description states the following:

"The XMP (eXtensible Metadata platform) is a framework to add metadata
to digital material to enhance the workflow in publication. The
essence is that the metadata is stored in an XML file, and this XML
stream is then embedded in the file to which it applies. How you
create this XML file is up to you, but the author started
investigating this because he wanted to embed licensing information in
the files he created. The license the author chose is one of the
Creative Commons licenses, and their web-site offers this information
in a valid XML-file, suitable for direct inclusion."

There are other, related LaTeX packages called hyperxmp, and aebxmp.
Search for them on CTAN (www.ctan.org) and read their description to
see whether they suit you better...or not.

Werner

Reply all
Reply to author
Forward
0 new messages