News

XMP embedding for pdflatex

Mike Linksvayer, June 22nd, 2004

Maarten Sneep has created a pdflatex macro for embedding XMP in PDF files generated from LaTeX source, the de facto standard for scientific documents. As Maarten’s documentation points out, one may obtain XMP suitable for embedding via choose license process.

We have a tech challenge calling for Creative Commons and XMP support in open source applications. Follow Maarten’s lead!

Update: The software above is available via CTAN: the Comprehensive TeX Archive Network. The package is called xmpincl (the second link in this post points to a CTAN mirror). Also of note, xmpincl is licensed under the CC-GNU GPL.

11 Responses to “XMP embedding for pdflatex”

  1. ammar says:

    Dear Sir,

    what is the latex source for cc-by?

  2. Sam Wilson says:

    I also would be interested in the latex source for the legalcode for cc-by, if it were to be made available. I would like to make a little sewn booklet explaining and including this licence.

  3. jamesh says:

    I just use a simple font drawing:

    \textcircled{\begin{footnotesize}cc\end{footnotesize}}
    Attribution-Noncommercial-Share Alike
    Some Rights Reserved

  4. Carlo says:

    I can manage to include the XMP information in the PDF file, but I can’t manage to view it in the Document properties inside Adobe Reader 8.1.2. Any idea of why this happens? Any solution?

  5. Siman says:

    I can manage to include the XMP information in the PDF file, but I can’t manage to view it in the Document properties inside Adobe Reader 8.1.2. Any idea of why this happens? Any solution?

  6. Mike says:

    “one may obtain XMP suitable for embedding via choose license process.”
    I can’t find how to get the XMP via the “choose a license process.”

  7. Mike says:

    To answer my own question if you go through the “choose a license process” including clicking on the “Select a Licence” then you will go to a long URL. In this URL change “results-one” to “xmp” so that
    http://creativecommons.org/choose/results-one?…
    becomes
    http://creativecommons.org/choose/xmp?…
    and go to that URL.
    This will download an XMP file for the licence. I not sure if this XMP file is correct or complete.

  8. Mike says:

    Responding to my own comment. The XMP visible link is confirmed missing from the “Choose a License” page. An issue has been opened on this
    http://code.creativecommons.org/issues/issue547
    and an issue has been opened on missing attribution metadata in generated XMP file
    http://code.creativecommons.org/issues/issue548
    as currently none the information in “Additional Information” is put into the XMP file.

  9. Mike says:

    The link to Maarten Sneep of
    http://www.nat.vu.nl/~sneep/index.php
    gives a ‘404 Not Found’ (and mail to sneep@nat.vu.nl bounces).
    The link could be changed to
    http://www.xs4all.nl/~msneep/

  10. Mario says:

    I’m using Latex + xmpincl package to embed my CC license in the resulting PDF file. The License packet is embedded in the file (I can see it using a text editor on the pdf file), but cannot see it in any document property using Acrobat Reader 9.4 Pro (using the More Metadata button) or the plain one.
    Any idea?
    Thanks for the help!
    mario

  11. S. says:

    The XMP contains machine readable information. For human readable information :
    – put small icons in your doc, either by including pictures (http://creativecommons.org/about/downloads/) or icons (package ccicons)
    – fill the metadata of your pdf file with something like this in your preamble

    \ifpdf
    \pdfinfo {
    /Title (My document)
    /Author (Me – CC-Licence : http://creativecommons.org/licenses/by-nc-sa/3.0/)
    /Subject (Human readable CC Licence)
    /Keywords (pdfLaTeX, CC, licence, XMP)
    }
    \fi