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

Bug#80644: Update hyperref, the names of commands in pdfTeX have changed



Package: tetex-extra
Version: 1.0.2+20000804

I have been trying to get a TeX installation together so I can build
some PDF and HTML documentation from the same input file.  The
mod_python project seems to have been able to do exactly that, so I
grabbed the latest version of mod_python, went to the Doc subdirectory
and did a 'make pdf'.  That did not work.

Next thing I did was download Python-1.6, went to the Doc subdir and
did a 'make html'.  That worked fine (after I renamed the top level
directory from Python-1.6 to Python - seems there is another bug
somewhere there which doesn't handle '.' in pathnames).  If I was able
to run latex2html successfully, it would seem that I had a mostly
correct installation.

So back to mod_python.  It has a pdf target - which is what was
interested in...  After grabbing the latest version of python.sty and
mkhowto from the Python CVS repository on sourceforge, I was able to
build the dvi and ps targets.  When I try the pdf target, I get the
following (complete) log file:

- - modpython.how - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+++ TEXINPUTS=/home/djc/download/mod_python-2.7.1/Doc:/home/djc/download/Python/
Doc/paper-letter:/home/djc/download/Python/Doc/texinputs:
+++ pdflatex modpython
This is pdfTeX, Version 3.14159-14f-released-20000525 (Web2C 7.3.1)
(/home/djc/download/mod_python-2.7.1/Doc/modpython.tex{/usr/share/texmf/pdftex/
config/pdftex.cfg}
LaTeX2e <1999/12/01> patch level 1
Babel <v3.6Z> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/home/djc/download/Python/Doc/texinputs/manual.cls
Document Class: manual 1998/03/03 Document class (Python manual)
(/home/djc/download/Python/Doc/texinputs/pypaper.sty
(/usr/share/texmf/tex/latex/psnfss/times.sty)
Using Times instead of Computer Modern.
) (/usr/share/texmf/tex/latex/base/report.cls
Document Class: report 1999/09/10 v1.4a Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty)
Using fancier footers than usual.
(/home/djc/download/Python/Doc/texinputs/fncychap.sty)
Using fancy chapter headings.
(/home/djc/download/Python/Doc/texinputs/python.sty
(/usr/share/texmf/tex/latex/tools/longtable.sty)
(/usr/share/texmf/pdftex/plain/misc/pdfcolor.tex)
(/usr/share/texmf/tex/latex/tools/verbatim.sty)))
Writing index file modpython.idx
No file modpython.aux.
(/usr/share/texmf/tex/latex/psnfss/ot1ptm.fd)
(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd) [1{/usr/share/texmf/dvips/config/
pdftex.map}] (/home/djc/download/mod_python-2.7.1/Doc/copyright.tex
(/usr/share/texmf/tex/latex/psnfss/omsptm.fd)

LaTeX Font Warning: Font shape `OMS/ptm/bx/n' undefined
(Font)              using `OMS/ptm/m/n' instead on input line 1.

) [2]
Adding blank page after the abstract.
[1] [2]
No file modpython.toc.
Adding blank page after the table of contents.
[1] [2] (/home/djc/download/mod_python-2.7.1/Doc/modpython1.tex
Chapter 1.
(/usr/share/texmf/tex/latex/psnfss/ot1pcr.fd) [1])
(/home/djc/download/mod_python-2.7.1/Doc/modpython2.tex [2]
Chapter 2.
[3]
Overfull \hbox (53.49724pt too wide) in paragraph at lines 88--88
[]/pcrr7t@9.0pt/$ ./configure --with-apache=../src/apache_1.3.12 --with-apxs=/u
sr/local/apache/bin/apxs[] 
[4] [5]

LaTeX Warning: Reference `tutorial' on page 6 undefined on input line 294.

[6]) (/home/djc/download/mod_python-2.7.1/Doc/modpython3.tex [7] [8]
Chapter 3.

LaTeX Warning: Reference `pythonapi' on page 9 undefined on input line 13.


LaTeX Warning: Reference `directives' on page 9 undefined on input line 52.

[9] [10] [11] [12] [13]

LaTeX Warning: Reference `hand-pub' on page 14 undefined on input line 428.

) (/home/djc/download/mod_python-2.7.1/Doc/modpython4.tex [14]
Chapter 4.
[15]
Underfull \hbox (badness 6110) in paragraph at lines 136--140
[]/ptmr7t/As an al-ter-na-tive to /ptmri7t/re-turn-ing /ptmr7t/an HTTP er-ror c
ode, han-dlers can sig-nal an er-ror by /ptmri7t/rais-ing /ptmr7t/the
[16] [17]

LaTeX Warning: Reference `pyapi-mptable' on page 18 undefined on input line 218
.


Underfull \hbox (badness 7667) in paragraph at lines 291--294
/ptmr7t/Calls the Apache /pcrr7t/ap[]add[]common[]vars() /ptmr7t/func-tion. Af-
ter a call to this method, /pcrr7t/Re-
[18] [19] [20] [21]
Underfull \hbox (badness 5359) in paragraph at lines 665--669
/ptmr7t/If an au-then-ti-ca-tion check is made, this will hold the user name. /
ptmb7t/NOTE: /ptmr7t/You must call
[22] [23] [24] [25]) (/home/djc/download/mod_python-2.7.1/Doc/modpython5.tex
[26]
Chapter 5.
[27] [28] [29] [30] [31] [32]
Overfull \hbox (55.49718pt too wide) in paragraph at lines 536--536
[]/pcrr7t@9.0pt/PythonPath "['/usr/local/lib/python2.0', '/usr/local/lib/site_p
ython', '/some/other/place']"[] 
[33]) (/home/djc/download/mod_python-2.7.1/Doc/modpython6.tex [34]
Chapter 6.
[35] [36]

LaTeX Warning: Reference `hand-pub' on page 37 undefined on input line 201.

[37]
Underfull \hbox (badness 10000) in paragraph at lines 236--240
[]/ptmr7t/If the above didn't "click" for you, go read the ZPub-lisher doc-u-me
n-ta-tion at

Overfull \hbox (166.89711pt too wide) in paragraph at lines 272--272
[]/pcrr7t@9.0pt/lrwxr-xr-x  1 uid group    53 Dec 13 12:15 ZPublisher -> /usr/l
ocal/src/Zope-2.1.0-src/lib/python/ZPublisher[] 
[38]) (/home/djc/download/mod_python-2.7.1/Doc/appendixa.tex [39] [40]
Appendix A.

Underfull \hbox (badness 10000) in paragraph at lines 58--62
[]/ptmr7t/Move the files in the folder lib in-side the mod[]python folder (/pcr
r7t/C:\Program

Underfull \hbox (badness 10000) in paragraph at lines 58--62
/pcrr7t/Files\Python\lib\mod[]python-x\lib\mod[]python/ptmr7t/) to the /pcrr7t/
C:\Program
[41]) (/home/djc/download/mod_python-2.7.1/Doc/appendixb.tex [42]
Appendix B.
[43])
Underfull \hbox (badness 10000) in paragraph at lines 89--63

[44] (/home/djc/download/mod_python-2.7.1/Doc/modpython.ind [45] [46] [47])
(/home/djc/download/mod_python-2.7.1/Doc/modpython.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.


LaTeX Warning: There were undefined references.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 )
(see the transcript file for additional information){/usr/share/texmf/dvips/bas
e/8r.enc}</usr/share/texmf/fonts/type1/bluesky/cm/cmsy10.pfb>
Output written on modpython.pdf (53 pages, 127882 bytes).
Transcript written on modpython.log.
+++ makeindex modmodpython.idx
This is makeindex, version 2.13 [07-Mar-1997] (using kpathsea).
Scanning input file modmodpython.idx....done (2 entries accepted, 0 rejected).
Sorting entries....done (2 comparisons).
Generating output file modmodpython.ind....done (9 lines written, 0 warnings).
Output written in modmodpython.ind.
Transcript written in modmodpython.ilg.
+++ makeindex modpython.idx
This is makeindex, version 2.13 [07-Mar-1997] (using kpathsea).
Scanning input file modpython.idx....done (187 entries accepted, 0 rejected).
Sorting entries.....done (1613 comparisons).
Generating output file modpython.ind....done (301 lines written, 0 warnings).
Output written in modpython.ind.
Transcript written in modpython.ilg.
+++ pdflatex modpython
This is pdfTeX, Version 3.14159-14f-released-20000525 (Web2C 7.3.1)
(/home/djc/download/mod_python-2.7.1/Doc/modpython.tex{/usr/share/texmf/pdftex/
config/pdftex.cfg}
LaTeX2e <1999/12/01> patch level 1
Babel <v3.6Z> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/home/djc/download/Python/Doc/texinputs/manual.cls
Document Class: manual 1998/03/03 Document class (Python manual)
(/home/djc/download/Python/Doc/texinputs/pypaper.sty
(/usr/share/texmf/tex/latex/psnfss/times.sty)
Using Times instead of Computer Modern.
) (/usr/share/texmf/tex/latex/base/report.cls
Document Class: report 1999/09/10 v1.4a Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty)
Using fancier footers than usual.
(/home/djc/download/Python/Doc/texinputs/fncychap.sty)
Using fancy chapter headings.
(/home/djc/download/Python/Doc/texinputs/python.sty
(/usr/share/texmf/tex/latex/tools/longtable.sty)
(/usr/share/texmf/pdftex/plain/misc/pdfcolor.tex)
(/usr/share/texmf/tex/latex/tools/verbatim.sty)))
Writing index file modpython.idx
(/home/djc/download/mod_python-2.7.1/Doc/modpython.aux)
(/usr/share/texmf/tex/latex/psnfss/ot1ptm.fd)
(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd) [1{/usr/share/texmf/dvips/config/
pdftex.map}] (/home/djc/download/mod_python-2.7.1/Doc/copyright.tex
(/usr/share/texmf/tex/latex/psnfss/omsptm.fd)

LaTeX Font Warning: Font shape `OMS/ptm/bx/n' undefined
(Font)              using `OMS/ptm/m/n' instead on input line 1.

) [2]
Adding blank page after the abstract.
[1] [2] (/home/djc/download/mod_python-2.7.1/Doc/modpython.toc
(/usr/share/texmf/tex/latex/psnfss/ot1pcr.fd))
Adding blank page after the table of contents.
[1
! pdfTeX error (ext4): \pdfendlink ended up in different nesting level than \pd
fstartlink.
<to be read again> 
                   \endgroup 
l.52 \tableofcontents
                     
!  ==> Fatal error occurred, the output PDF file not finished!
Transcript written on modpython.log.
*** Session transcript and error messages are in modpython.how.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

After a bit of research, I discovered this URL:

        http://www.tug.org/ListsArchives/pdftex/msg06112.html

The follow ups to this message reporting the same problem suggested:

        You need to update your hyperref from version 6.56 to the most 
        recent 6.68.  You are using pdftex .14, some primitives have been 
        renamed in that version.  This is compensated for in an updated 
        hyperref

        The latest, and greatest, hyperref can be obtained from

        http://www.tug.org/applications/hyperref/

I know so little about TeX and LaTeX that I am worried that grabbing
that file and installing it manually will irreversibly screw up my TeX
installation.

In case it matters, python.sty and mkhowto came from here:

        http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/python/dist/src/Doc/texinputs/python.sty?cvsroot=python

        http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/python/dist/src/Doc/tools/mkhowto?cvsroot=python

I am using unstable Debian;
tetex-base     1.0.2+20000804
tetex-bin      1.0.7+20000807
tetex-extra    1.0.2+20000804
latex2html     99.1-pre2-b8-1

- Dave




Reply to: