Bug Tracker
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 | 251🔗 |
---|---|
Date: | 2023-04-22 22:59:40 |
Last update: | 2023-04-25 09:25:32 |
Status | Closed (Fixed) |
Category | glossaries-extra |
Version | 1.50 |
Summary | All-cap abbreviations lead to undefined control sequence when used chapters/sections of books |
Sign in to subscribe to notifications about this report.
Description
The MWE uses the three macros \glsfmtname, \Glsfmtname, and \GLSfmtname to access small cap/all cap/etc. versions of an abbrevation. The use of the all cap version \GLSfmtname gives an error when \GLSfmtname tries to use the macro \GLSxtrtitlename.But this does not happen always, only under two conditions, as far as I can tell: 1) The document class has to be e.g. book or scrbook (I also tried article and didn't observe it). 2) There has to be at least one \chapter or \section or similar in the document, otherwise it compiles just fine.
I posted this as a question on TeX.SE and one other guy had the same behavior, so I'm reasonably sure that it might be a bug. (see https://tex.stackexchange.com/q/683648/44467 if relevant)
MWE
Download (252B)
\documentclass{book} \usepackage{glossaries-extra} \newabbreviation{xxx}{asa}{a simple abbreviation} \begin{document} %\chapter{A chapter} \section{A section} \gls{xxx} \glsfmtname{xxx} \Glsfmtname{xxx} \GLSfmtname{xxx} \end{document}
Evaluation
Yes it is a bug. Thank you. It will be fixed in v1.51. The patch suggested in the TeX.SE answer will work in the meantime.
Update: fixed in v1.51 (2023-04-24). Please allow a few days for the new version to make it into your TeX distribution.
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=251