Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

broken hyperref?

270 views
Skip to first unread message

Lars Madsen

unread,
Oct 18, 2010, 6:00:24 PM10/18/10
to
Using a fully updated TeX Live 2010:

\listfiles
\documentclass{article}
\usepackage{hyperref}
\begin{document}
test
\end{document}

through latex gives me

....
(/opt/texlive/2010/texmf-dist/tex/latex/hyperref/pdfmark.def
! Undefined control sequence.
l.179 \Hy@WrapperDef
\hyper@anchor#1{%
! Undefined control sequence.
l.179 \Hy@WrapperDef\hyper@anchor
#1{%
! You can't use `macro parameter character #' in vertical mode.
l.179 \Hy@WrapperDef\hyper@anchor#
1{%

! LaTeX Error: Missing \begin{document}.

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

l.179 \Hy@WrapperDef\hyper@anchor#1
{%
! Undefined control sequence.
l.183 \pdfmark
[\anchor@spot]{%
! Undefined control sequence.
l.183 \pdfmark[\anchor@spot
]{%
! Undefined control sequence.
l.186 View=/\@pdfview
\@pdfviewparams,%
! Undefined control sequence.
l.186 View=/\@pdfview \@pdfviewparams
,%
! You can't use `macro parameter character #' in horizontal mode.
l.187 DestAnchor={#
1}%
! Undefined control sequence.
l.193 \Hy@WrapperDef
\hyper@anchorstart#1{%
! Undefined control sequence.
l.193 \Hy@WrapperDef\hyper@anchorstart
#1{%
! You can't use `macro parameter character #' in horizontal mode.
l.193 \Hy@WrapperDef\hyper@anchorstart#
1{%
! Illegal parameter number in definition of \hyper@currentanchor.
<to be read again>
1
l.198 \xdef\hyper@currentanchor{#1
}%

Overfull \hbox (95.83342pt too wide) in paragraph at lines 179--684
[]\OT1/cmr/m/n/10 1[]pdfmark=/DEST,linktype=anchor,View=/,DestAnchor=1
1[]

(/opt/texlive/2010/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
(/opt/texlive/2010/texmf-dist/tex/latex/oberdiek/atveryend.sty)
(/opt/texlive/2010/texmf-dist/tex/generic/oberdiek/uniquecounter.sty))))
(./test.aux) (/opt/texlive/2010/texmf-dist/tex/latex/hyperref/nameref.sty
(/opt/texlive/2010/texmf-dist/tex/latex/oberdiek/refcount.sty)
(/opt/texlive/2010/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./test.out) (./test.out)
! Undefined control sequence.
\Hy@AtBeginDocumentHook ...lse \hyper@anchorstart

{Doc-Start}\hyper@anchoren...
l.4 \begin{document}

! Undefined control sequence.
\hyper@anchorend ...chorfalse \Hy@RestoreLastskip

l.4 \begin{document}

! Undefined control sequence.
\@hyper@@anchor ...nchor@spot \else \hyper@anchor
{#1}\fi \expandafter
\put@...
l.6 \end{document}

[1] (./test.aux)

*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
hyperref.sty 2010/05/04 v6.81a Hypertext links for LaTeX
ltxcmds.sty 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
kvsetkeys.sty 2010/03/01 v1.9 Key value parser (HO)
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/message (HO)
etexcmds.sty 2010/01/28 v1.3 Prefix for e-TeX command names (HO)
pdfescape.sty 2010/03/01 v1.9 Provides hex, PDF name and string
conversions
(HO)
pdftexcmds.sty 2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX
(HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ifpdf.sty 2010/01/28 v2.1 Provides the ifpdf switch (HO)
ifvtex.sty 2010/03/01 v1.5 Switches for detecting VTeX and its
modes (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
hycolor.sty 2009/12/12 v1.6 Color options of hyperref/bookmark (HO)
xcolor-patch.sty 2009/12/12 xcolor patch
letltxmacro.sty 2008/06/24 v1.3 Let assignment for LaTeX macros (HO)
pd1enc.def 2010/09/17 v6.81q Hyperref: PDFDocEncoding definition (HO)
intcalc.sty 2007/09/27 v1.1 Expandable integer calculations (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty 2010/02/22 v3.7 Keyval support for LaTeX options (HO)
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
bitset.sty 2007/09/28 v1.0 Data type bit set (HO)
bigintcalc.sty 2007/11/11 v1.1 Expandable big integer calculations (HO)
atbegshi.sty 2010/03/25 v1.12 At begin shipout hook (HO)
hdvips.def 2010/09/17 v6.81q Hyperref driver for dvips
pdfmark.def 2010/09/17 v6.81q Hyperref definitions for pdfmark specials
rerunfilecheck.sty 2010/03/16 v1.6 Rerun checks for auxiliary files (HO)
atveryend.sty 2010/03/24 v1.5 Hooks at very end of document (HO)
uniquecounter.sty 2009/12/18 v1.1 Provides unlimited unique counter (HO)
nameref.sty 2010/04/30 v2.40 Cross-referencing by name of section
refcount.sty 2008/08/11 v3.1 Data extraction from references (HO)
gettitlestring.sty 2009/12/18 v1.3 Cleanup title references (HO)
test.out
test.out
***********

anyone?

Lars Madsen

unread,
Oct 18, 2010, 6:40:52 PM10/18/10
to
stupid me, left over hyperref.sty in the same directory, sorry for the noise

(and thanks to victor to pointing out I had an old hyperref}

/daleif

Victor Ivrii

unread,
Oct 18, 2010, 6:44:35 PM10/18/10
to
On Oct 18, 6:00 pm, Lars Madsen <dal...@imf.au.dk> wrote:
> Using a fully updated TeX Live 2010:
>
> \listfiles
> \documentclass{article}
> \usepackage{hyperref}
> \begin{document}
> test
> \end{document}
>
> through latex gives me
>

> hyperref.sty    2010/05/04 v6.81a Hypertext links for LaTeX

Old hyperref. Current 6.81q (via TL2010) and no errors for me with
latex and pdflatex

Victor

Heiko Oberdiek

unread,
Oct 19, 2010, 3:03:52 PM10/19/10
to
Lars Madsen <dal...@imf.au.dk> wrote:

> stupid me, left over hyperref.sty in the same directory, sorry for the noise
>
> (and thanks to victor to pointing out I had an old hyperref}

Next version will add a version check for the driver files.

--
Heiko Oberdiek

0 new messages