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

Bug#1087428: marked as done (hyperref broke cleveref - get bugfix from upstream)



Your message dated Thu, 21 Nov 2024 23:08:46 +0100
with message-id <Zz-vbvwblmUeEFs8@rasppi2>
and subject line Re: Bug#1087428: problem is with SIAM article style
has caused the Debian Bug report #1087428,
regarding hyperref broke cleveref - get bugfix from upstream
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1087428: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087428
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-latex-base
Version: 2024.20241102-1

Since the latest upgrade, in a manuscript using hyperref and cleveref, all cross-references are broken.

From the log:
```
$ pdflatex cgt0
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./cgt0.tex
LaTeX2e <2024-11-01>
L3 programming layer <2024-10-09>
(./siamart220329.cls
Document Class: siamart220329 2022/03/29 v1.4.4 LaTeX document e-class
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texlive/texmf-dist/tex/latex/ntheorem/ntheorem.sty
Style `ntheorem', Version 1.33 <2011/08/15>
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/xr-hyper.sty)
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifpdf.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)
(/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty
(/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
(/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty))

Package nameref Warning: The definition of \label has changed!
(nameref)                Check your packages!
(nameref)                Replacing it with the kernel definition on input line
149.

) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)

...

Package hyperref Warning: The anchor of a bookmark and its parent's must not
(hyperref)                be the same. Added a new anchor on input line 127.


LaTeX Warning: cref reference format for label type `' undefined on input line
171.


LaTeX Warning: cref reference format for label type `' undefined on input line
179.

```

Hopefully, this bug has already been fixed upstream in
https://github.com/latex3/hyperref/commit/fffd2e030c7aff952c0e9f34265fe4a03a8efd46


Regards, Joachim

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


--- End Message ---
--- Begin Message ---
On 18.11.24 Joachim Wuttke (j.wuttke@fz-juelich.de) wrote:

Hello,

as requested by the submitter I'm closing the issue hereby.

Hilmar

> 
> Even with the latest upgrade, references are still broken.
> However, the problem is neither with this Debian package,
> nor with the LaTeX modules hyperref and cleveref,
> but with the article class siamart, which redefines
> \refstepcounter and \label, as explained here [1].
> 
> Therefore this Debian issue should be closed.
> 
> For the benefit of others who hit this conversation:
> The workaround described in [1] really works, i.e.
> insert
> ```
> \let\ORIlabel\label
> \let\ORIrefstepcounter\refstepcounter
> \AddToHook{package/hyperref/before}{
>    \let\label\ORIlabel
>    \let\refstepcounter\ORIrefstepcounter}
> ```
> in front of
> ```
> \documentclass{siamart220329}
> ```
> 
> Regards, Joachim
> 
> [1] https://tex.stackexchange.com/a/730631/34503
> 
> On 17Nov24 23:18, Hilmar Preuße wrote:
> > On 13.11.24 13:36, Joachim Wuttke wrote:
> > 
> > Hello,
> > 
> > > Since the latest upgrade, in a manuscript using hyperref and
> > > cleveref, all cross-references are broken.
> > > 
> > >  From the log:
> > > ```
> > > 
> > 
> > I've uploaded another CTAN snapshot recently. Let me know, if it solved the issue.
> > 
> > Hilmar
> 

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: