Skip to content

loading latexrelease errors if deprecation is checked #1953

@u-fischer

Description

@u-fischer

Minimal example showing the bug

\ExplSyntaxOn
\debug_on:n {deprecation}
\ExplSyntaxOff
\RequirePackage[2025/01/01]{latexrelease}

errors with

(./test-utf8.tex
LaTeX2e <2025-11-01>
L3 programming layer <2025-11-14>
(c:/texlive/2025/texmf-dist/tex/latex/l3kernel/l3debug.def
File: l3debug.def 2025-12-24 L3 Debugging support
)
(c:/texlive/2025/texmf-dist/tex/latex/base/latexrelease.sty
LaTeX Info: Redefining \IfTargetDateBefore on input line 292.
Package: latexrelease 2025/01/31 v1.0q LaTeX release emulation and tests (inclu
ding releases up to 2025-11-01)

Runaway text?
\cs_gset_protected:Npn \__latexrelease_declare_command:w {\@star@or@long \ETC.
! Forbidden control sequence found while scanning text of \unexpanded.
<inserted text> 
                }
l.551   \msg_new:nnnn \msg_gset:nnnn
                                    
? x

(this affects e.g. test github-0401 which doesn't compile).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions