Bug#440039: hyperref package requires pzdr font

2007-08-29 Thread Victor Stinner
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   libkpathsea43.0-27ubuntu1
ii   python-twisted-lore 0.3.0-0ubuntu1
ii   tex-common  0.42
ii   texlive-base2005.dfsg.3-1
ii   texlive-base-bin2005.dfsg.2-12ubuntu1
ii   texlive-common  2005.dfsg.3-1
ii   texlive-doc-base2005.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/



Bug#440039: hyperref package requires pzdr font

2007-08-29 Thread Frank Küster
Victor Stinner [EMAIL PROTECTED] 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:

[EMAIL PROTECTED]
  [EMAIL PROTECTED]@gobble}{}%
  \setkeys{Form}{#1}%
  \ifnum\pdftexversion13
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
  \fi
  \pdfcatalog{/AcroForm [EMAIL PROTECTED] 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)



Bug#440039: hyperref package requires pzdr font

2007-08-29 Thread Ralf Stubner
On Wed, Aug 29, 2007 at 20:38 +0200, Frank Küster wrote:
 Victor Stinner [EMAIL PROTECTED] 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=985view=markuppathrev=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