[tex-live] hyperref/puenc.def broken after upgrade

Pander pander at users.sourceforge.net
Tue Aug 14 17:19:05 CEST 2012


On 2012-08-14 16:48, Robin Fairbairns wrote:
> Pander <pander at users.sourceforge.net> wrote:
> 
>> About testing hyperref, the following isn't even working with xelatex:
>>
>> \documentclass{article}
>> \usepackage{hyperref}
>> \begin{document}
>> \end{document}
>>
>> Perhaps this could be part of some automated testing in TeX Live
>> whenever anything related to hyperref changes.
> 
> wouldn't help; i've just (a) updated tl, (b) run your test with xelatex
> (and pdflatex and plain latex) without any problem.

Here not :(

$ date
Tue Aug 14 17:10:46 CEST 2012

# tlmgr update --all
tlmgr: package repository
http://ftp.snt.utwente.nl/pub/software/tex/systems/texlive/tlnet
tlmgr: saving backups to /usr/local/texlive/2012/tlpkg/backups
tlmgr: no updates available

$ cat hyperref.tex
\documentclass{article}
\usepackage{hyperref}
\begin{document}
asdf
\end{document}

$ xelatex hyperref.tex
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)
 restricted \write18 enabled.
entering extended mode
(./hyperref.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek,
ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian,
czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi,
finnis
h, french, friulan, galician, german, ngerman, swissgerman, monogreek,
greek, h
ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada,
malayalam, ma
rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish,
italian,
kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal,
nynorsk,
 polish, portuguese, romanian, romansh, russian, sanskrit, serbian,
serbianc, s
lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian,
uppersorbian,
welsh, loaded.
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2012/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2012/texmf-dist/tex/xelatex/xetexconfig/hyperref.cfg)
(/usr/local/texlive/2012/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hxetex.

(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/hxetex.def
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/puenc.def

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.1591 \DeclareTextCommand[\textBeam}{P
                                       U}{\9043\223}%* U+2393
? x
No pages of output.
Transcript written on hyperref.log.

What example do you use?

If hyperref is a high risk upgrade, some simple testing would be in
place. People should be able to expect some quality when using TeX Live.
I value TeX Live distribution a lot so some extra tests would be very
welcome to keep on guaranteeing that.

Just start out with a simple test such as the one above and each time a
problem arises with new packages, just add that particular test. In this
way, updating is less risky as it apparently is now.

> if we're going to run tests for every package that's updated, there's
> going to need to be an awful lot more work done on the tl release
> infrastructure, including writing a test suite per package.

All packages should include their own tests. The tests I refer to are
for integration testing checking if all packages can coexist peacefully.

> sounds excessive, to me.
> 
> robin
> 



More information about the tex-live mailing list