Bug Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

ID 285🔗
Submitted by: akiyks
Date: 2025-02-17 02:42:27
Last update: 2025-02-18 09:34:41
Status Closed (Not a Bug)
Category glossaries-extra
Version 1.48
Summary Roll back to 1.48 corrupts page headers against LaTeX2e <2025-06-01> pre-release-1

Sign in to subscribe to notifications about this report.

Description

Using up-to-date TeX Live 2024.

Appended MWE (with rollback to 2021-11-22) works fine with:

latexmk -pdf MWE.tex
However, it behaves differently against current dev version of LaTeX2e:
latexmk -pdf -pdflatex=pdflatex-dev MWE.tex
The chapter and section titles in the header area are corrupted.

If you remove rollback options in the MWE, there is no issue.

This might either be a regression in LaTeX2e <2025-06-01> prelease-1,
or some latent issue which only emerges with the pre-release LaTeX2e.
I have no idea.

I'm not sure forward compatibility of the rollback .sty such as
glossaries-extra-2021-11-22.sty is asking too much or not.
The reason I'm still sticking with v1.48 is that I did some hacky
customization in August 2022, and am too lazy to port it for v1.49 and
later.

If you say you just can't keep those rollback code compatible with future
LaTeX2e releases, I would be forced to port my customization against >=v1.49.

Let me hear your thoughts.

MWE

Download (358B)

\documentclass{book}
\usepackage{kantlipsum}

\usepackage{mfirstuc}[=2021-11-22]
\usepackage[toc,nopostdot,acronym]{glossaries}[=2021-11-22]
\usepackage{glossaries-extra}[=2021-11-22]

\begin{document}

\frontmatter
\tableofcontents

\mainmatter
\chapter{First}
\section{One}
\kant[1-5]
\section{Two}
\kant[6-10]
\section{Three}
\kant[11-15]

\end{document}

Evaluation

As far as I understand it, rollback files aren't supposed to change. The problem goes away if you rollback the LaTeX release by adding

\RequirePackage{latexrelease}[=2021-11-22]
before the document class.

Alternatively, just use \glsxtrRevertMarks after glossaries-extra is loaded, since it's the change in the definition of \markright and \markboth that seems to be causing the problem.

Comments

1 comment.

🔗Comment from akiyks
Date: 2025-02-18 09:33:43

Hi,

The update of textcase by David has resolved this issue.
Sorry for bothering you with this tentative glitch.

Please close this ticket.

Side note on the use of latexrelease:

Adding

    \RequirePackage[2021-11-22]{latexrelease}
to my MWE results in the following error with normal pdflatex:
...
(/usr/local/texlive/2024/texmf-dist/tex/latex/textcase/textcase.sty
! Undefined control sequence.
\reserved@a ...rcase:n {#1}case:nn}{V}\ExpandArgs 
                                                  {cnx}\NewExpandableDocumen...
l.31 \reserved@a { Upper }
                          
? 
It looks like textcase doesn't provide a rollback option and requires
a sufficiently recent date. 2022-06-01 worked for me.

Thank you again!

Replying to Comment #147:

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.

Comment:


You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.


Add Comment

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.

Comment:


You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.

Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=285