Debian Bug report logs - #440039
hyperref package requires pzdr font

version graph

Package: texlive-latex-base; Maintainer for texlive-latex-base is Debian TeX Maintainers <debian-tex-maint@lists.debian.org>; Source for texlive-latex-base is src:texlive-base.

Reported by: Victor Stinner <victor.stinner@haypocalc.com>

Date: Wed, 29 Aug 2007 11:24:01 UTC

Severity: normal

Found in version texlive-base/2005.dfsg.3-1

Fixed in version 2007-1

Done: Frank Küster <frank@kuesterei.ch>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian TeX Maintainers <debian-tex-maint@lists.debian.org>:
Bug#440039; Package texlive-latex-base. Full text and rfc822 format available.

Acknowledgement sent to Victor Stinner <victor.stinner@haypocalc.com>:
New Bug report received and forwarded. Copy sent to Debian TeX Maintainers <debian-tex-maint@lists.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Victor Stinner <victor.stinner@haypocalc.com>
To: submit@bugs.debian.org
Subject: hyperref package requires pzdr font
Date: Wed, 29 Aug 2007 13:23:03 +0200
Package: texlive-latex-base
Version: 2005.dfsg.3-1

I began to write a book but I get an error from hyperref package.

Simply LaTeX example:
---------------------------------------------------------------------
$ cat test.tex
\documentclass[12pt]{book}
\usepackage[pdftex]{hyperref}
\begin{document}
Hello World!
\end{document}

$ pdflatex test.tex
(...)
kpathsea: Running mktexmf pzdr
! I can't find file `pzdr'.
(...)
---------------------------------------------------------------------
(see full error message above)


Solution: install texlive-fonts-recommended to get pzdr font. Please fix the 
package to add texlive-fonts-recommended in "depends".


My packages with texlive-fonts-recommended:

$ dpkg -l|grep texlive
ii       dvi2ps          3.2j-15
ii       libkpathsea4    3.0-27ubuntu1
ii       python-twisted-lore     0.3.0-0ubuntu1
ii       tex-common      0.42
ii       texlive-base    2005.dfsg.3-1
ii       texlive-base-bin        2005.dfsg.2-12ubuntu1
ii       texlive-common          2005.dfsg.3-1
ii       texlive-doc-base        2005.dfsg.2-1
ii       texlive-fonts-recommended       2005.dfsg.3-1
ii       texlive-latex-base      2005.dfsg.3-1
ii       texlive-pdfetex         2005.dfsg.2-12ubuntu1

pdflatex full error:
----------------------------------------------------------------------------
*hyperref using driver hpdftex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def
(/usr/share/texmf-texlive/tex/latex/psnfss/pifont.sty
(/usr/share/texmf-texlive/tex/latex/psnfss/upzd.fd)kpathsea: Running mktextfm 
pzdr
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input pzdr
This is METAFONT, Version 2.71828 (Web2C 7.5.5)

kpathsea: Running mktexmf pzdr
! I can't find file `pzdr'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input pzdr

Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input pzdr

Transcript written on mfput.log.
grep: pzdr.log: Aucun fichier ou répertoire de ce type
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
pzdr' failed to make pzdr.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font U/pzd/m/n/12=pzdr at 12.0pt not loadable: Metric (TFM) file not found.
<to be read again>
                   relax
l.63 {\Pifont{pzd}
                  }
----------------------------------------------------------------------------

Victor Stinner aka haypo
http://hachoir.org/



Information forwarded to debian-bugs-dist@lists.debian.org, Debian TeX Maintainers <debian-tex-maint@lists.debian.org>:
Bug#440039; Package texlive-latex-base. Full text and rfc822 format available.

Acknowledgement sent to Frank Küster <frank@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian TeX Maintainers <debian-tex-maint@lists.debian.org>. Full text and rfc822 format available.

Message #10 received at submit@bugs.debian.org (full text, mbox):

From: Frank Küster <frank@debian.org>
To: Victor Stinner <victor.stinner@haypocalc.com>
Cc: 440039@bugs.debian.org, submit@bugs.debian.org
Subject: Re: Bug#440039: hyperref package requires pzdr font
Date: Wed, 29 Aug 2007 20:38:12 +0200
Victor Stinner <victor.stinner@haypocalc.com> wrote:

> Package: texlive-latex-base
> Version: 2005.dfsg.3-1
>
> I began to write a book but I get an error from hyperref package.
>
> Simply LaTeX example:
> ---------------------------------------------------------------------
> $ cat test.tex
> \documentclass[12pt]{book}
> \usepackage[pdftex]{hyperref}
> \begin{document}
> Hello World!
> \end{document}
>
> $ pdflatex test.tex
> (...)
> kpathsea: Running mktexmf pzdr
> ! I can't find file `pzdr'.
> (...)
> ---------------------------------------------------------------------
> (see full error message above)

Hm, I cannot reproduce this. I have the package installed, and currently
it's not an option to remove it, but I tried with KPATHSEA_DEBUG=126,
and it does not search for pzdr.mf; I'm using a newer version, though.

> pdflatex full error:
> ----------------------------------------------------------------------------
> *hyperref using driver hpdftex*
> (/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def
> (/usr/share/texmf-texlive/tex/latex/psnfss/pifont.sty
> (/usr/share/texmf-texlive/tex/latex/psnfss/upzd.fd)kpathsea: Running mktextfm 
> pzdr

Hm, looking in hpdftex.def I find:

\def\@Form[#1]{%
  \@ifundefined{textcolor}{\let\textcolor\@gobble}{}%
  \setkeys{Form}{#1}%
  \ifnum\pdftexversion>13
    \pdfrefobj\OBJ@pdfdocencoding
    \pdfrefobj\OBJ@ZaDb
    \pdfrefobj\OBJ@Helv
    \pdfrefobj\OBJ@acroform
  \fi
  \pdfcatalog{/AcroForm \OBJ@acroform\space 0 R}%
  \MakeFieldObject{%
    \begingroup
      \fontfamily{pzd}%
      \fontencoding{U}%
      \fontseries{m}%
      \fontshape{n}%
      \selectfont
      \char123 %
    \endgroup
  }{Ding}%
  \MakeFieldObject{\fbox{\textcolor{yellow}{\textsf{Submit}}}}{Submit}%
  \MakeFieldObject{\fbox{\textcolor{yellow}{\textsf{SubmitP}}}}{SubmitP}%
}

but I don't see a reason why this should be expanded and "executed".  It
should only need the font if the document actually uses Forms.  

Could it be that you have modified some files?  Please send the complete
logfile test.log,
/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def, and
/var/lib/texmf/web2c/pdflatex.log. 

Regards, Frank
-- 
Frank Küster
Debian Developer (teTeX/TeXLive)



Information forwarded to debian-bugs-dist@lists.debian.org, Debian TeX Maintainers <debian-tex-maint@lists.debian.org>:
Bug#440039; Package texlive-latex-base. Full text and rfc822 format available.

Acknowledgement sent to Frank Küster <frank@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian TeX Maintainers <debian-tex-maint@lists.debian.org>. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian TeX Maintainers <debian-tex-maint@lists.debian.org>:
Bug#440039; Package texlive-latex-base. Full text and rfc822 format available.

Acknowledgement sent to Ralf Stubner <ralf.stubner@web.de>:
Extra info received and forwarded to list. Copy sent to Debian TeX Maintainers <debian-tex-maint@lists.debian.org>. Full text and rfc822 format available.

Message #20 received at 440039@bugs.debian.org (full text, mbox):

From: Ralf Stubner <ralf.stubner@web.de>
To: Frank Küster <frank@debian.org>, 440039@bugs.debian.org
Cc: Victor Stinner <victor.stinner@haypocalc.com>
Subject: Re: Bug#440039: hyperref package requires pzdr font
Date: Wed, 29 Aug 2007 22:11:30 +0200
On Wed, Aug 29, 2007 at 20:38 +0200, Frank Küster wrote:
> Victor Stinner <victor.stinner@haypocalc.com> wrote:
> 
> > Package: texlive-latex-base
> > Version: 2005.dfsg.3-1
> >
> > I began to write a book but I get an error from hyperref package.
> >
> > Simply LaTeX example:
> > ---------------------------------------------------------------------
> > $ cat test.tex
> > \documentclass[12pt]{book}
> > \usepackage[pdftex]{hyperref}
> > \begin{document}
> > Hello World!
> > \end{document}
> >
> > $ pdflatex test.tex
> > (...)
> > kpathsea: Running mktexmf pzdr
> > ! I can't find file `pzdr'.
> > (...)
> > ---------------------------------------------------------------------
> > (see full error message above)
> 
> Hm, I cannot reproduce this. I have the package installed, and currently
> it's not an option to remove it, but I tried with KPATHSEA_DEBUG=126,
> and it does not search for pzdr.mf; I'm using a newer version, though.

I cannot reproduce this, either, even after removing
texlive-fonts-recommended. However, I am also using texlive 2007,
which I think is crucial here. According to, eg,
<URL:http://www.tug.org/svn/texlive/trunk/Master/texmf-dist/tex/latex/hyperref/hpdftex.def?revision=985&view=markup&pathrev=3956> 
older versions of hpdftex.def did indeed require pifont.sty.

However, we cannot change this for etch. And even if the problem would
still exist in sid, I would be against a Depends for the simple reason
that there are many LaTeX documents that can be processed without
texlive-fonts-recommended. A Recomends would be sufficient from my
point of view.

cheerio
ralf





Reply sent to Frank Küster <frank@kuesterei.ch>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Victor Stinner <victor.stinner@haypocalc.com>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #25 received at 440039-done@bugs.debian.org (full text, mbox):

From: Frank Küster <frank@kuesterei.ch>
To: Ralf Stubner <ralf.stubner@web.de>
Cc: 440039-done@bugs.debian.org, Victor Stinner <victor.stinner@haypocalc.com>
Subject: Re: Bug#440039: hyperref package requires pzdr font
Date: Thu, 30 Aug 2007 21:56:10 +0200
Version: 2007-1

Ralf Stubner <ralf.stubner@web.de> wrote:

> I cannot reproduce this, either, even after removing
> texlive-fonts-recommended. However, I am also using texlive 2007,
> which I think is crucial here. According to, eg,
> <URL:http://www.tug.org/svn/texlive/trunk/Master/texmf-dist/tex/latex/hyperref/hpdftex.def?revision=985&view=markup&pathrev=3956> 
> older versions of hpdftex.def did indeed require pifont.sty.
>
> However, we cannot change this for etch. 

Thanks for the analysis.  I'm closing this bug with version information,
indicating that it still exists in etch.

Thanks, Victor, for reporting - it will show up in the list of etch bugs
even after this closing messages, and help other users.  

Regards, Frank
-- 
Frank Küster
Debian Developer (teTeX/TeXLive)



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 28 Sep 2007 07:27:24 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 02:17:52 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.