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\pdftexversion>13
    [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)

Reply via email to