[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#631542: texlive-latex-extra: hyperxmp partial failure depending on how PDF is produced



Package: texlive-latex-extra
Version: 2009-10
Severity: normal
Tags: upstream


The hyperxmp package adds some XML metadata to PDF files, providing the
document author, title, copyright information, etc in machine-parseable
format.  The package documentation claims to support various methods of
producing a PDF from latex source (pdflatex, latex+dvips+ps2pdf,
latex+dvipdfm, xelatex, and lualatex).  However, some of the metadata is lost
when using some of those methods.

Specifically, I've found that the pdfcopyright and pdflicenseurl fields are
lost when using latex+dvips+ps2pdf, while the pdfauthor and pdftitle fields
are retained.  latex+dvipdfm fails to include any metadata.  Only pdflatex
includes all four fields.

The metadata can be found in the PDF file using 'strings' and searching for
the lines between '<?xpacket begin="' and '<?xpacket end="w"?>.  Or just grep
for the metadata information defined in the test file provided below.

-- Package-specific info:
If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report. 

Please run your example with
	(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.latex-einfuehrung.de/mini-en.html (english)

or 

http://www.latex-einfuehrung.de/mini.html (german)

##################################
minimal input file

\documentclass{report}
\usepackage{hyperxmp}
\usepackage{hyperref}

\hypersetup{%
  pdfauthor={Foo Bar the Magnificent},
  pdftitle={Bug Report},
  pdfcopyright={Creative Commons 3.0 Attribution License},
  pdflicenseurl={http://creativecommons.org/licenses/by/3.0/us/}
}

\begin{document}
Test.
\end{document}

##################################
other files

######################################
 List of ls-R files

-rw-r--r-- 1 root root 1010 Jun 10 09:39 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 80 Jun 10 09:38 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 Mar 23 12:40 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 Sep 27  2010 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 Sep 27  2010 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
 Config files
lrwxrwxrwx 1 root root 20 Mar 23 12:40 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 4181 Jun  5 18:55 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 10448 Jun  5 18:55 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 3110 Jun  5 18:55 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 1
-rw-r--r-- 1 root root 283 Nov 10  2008 mktex.cnf
######################################
 md5sums of texmf.d
3875bf0f4a53a29b7f247399dc9833e2  /etc/texmf/texmf.d/05TeXMF.cnf
6e82a3d4c00ae7e4f86aa8dcf9438cf3  /etc/texmf/texmf.d/15Plain.cnf
c60a084820a0b73e3bfbf2e90bda437c  /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c  /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1  /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068  /etc/texmf/texmf.d/75DviPS.cnf
7ae52efac46feb97010986e57877d12e  /etc/texmf/texmf.d/80DVIPDFMx.cnf
37329819f1109e8a457e64b8b58fecdb  /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c  /etc/texmf/texmf.d/90TeXDoc.cnf
402d5adb3864c09ed3cd80c0f2131361  /etc/texmf/texmf.d/95NonPath.cnf

-- System Information:
Debian Release: wheezy/sid
  APT prefers sid
  APT policy: (500, 'sid'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-toi+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages texlive-latex-extra depends on:
ii  dpkg                          1.16.0.3   Debian package management system
ii  preview-latex-style           11.86-2.1  extraction of elements from LaTeX 
ii  tex-common                    2.09       common infrastructure for building
ii  texlive-binaries              2009-8     Binaries for TeX Live
ii  texlive-common                2009-11    TeX Live: Base component
ii  texlive-latex-base            2009-11    TeX Live: Basic LaTeX packages
ii  texlive-pictures              2009-11    TeX Live: Graphics packages and pr

Versions of packages texlive-latex-extra recommends:
ii  texlive-latex-extra-doc       2009-10    TeX Live: Documentation files for 
ii  texlive-latex-recommended     2009-11    TeX Live: LaTeX recommended packag
ii  texpower                      0.2-7      Macros for creating professional p

texlive-latex-extra suggests no packages.

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]        1.5.39      Debian configuration management sy
ii  dpkg                         1.16.0.3    Debian package management system
ii  ucf                          3.0025+nmu2 Update Configuration File: preserv

Versions of packages tex-common suggests:
ii  debhelper                     8.1.6      helper programs for debian/rules

Versions of packages texlive-latex-extra is related to:
ii  tex-common                    2.09       common infrastructure for building
ii  texlive-binaries              2009-8     Binaries for TeX Live

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:



Reply to: