Latest news 2024-03-02: Ebook sale (3rd–9th March 2024): short story cybercrime fiction Unsocial Media free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99. For further details, see latest blog post.

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 161🔗
Date: 2020-05-26 18:56:25
Status Closed (Migrated)
Category glossaries-extra
Version 1.45
Summary Possible incompatibility with totcount (\newtotcounter) or other macros/packages

Sign in to subscribe to notifications about this report.


A more detailed description is available at [TeX.SX Link].

In current MiKTeX distribution (both release and pre-release), compiling the attached MWE leads to java.lang.StackOverflowError that, according to bib2gls’s manual, may be caused by an infinite loop. The problem indicates possible incompatibility between bib2gls 2.3 2020-03-23 and \newtotcounter{} of totcount 1.2 or some other macros/packages that it invokes.

It seems to be related to the second line of the AUX file:

	\expandafter\ifx\csname c@tc@totc\endcsname\relax\newcounter{tc@totc}\fi\setcounter{tc@totc}{0}

as changing it to:


reverts normal operation of bib2gls.

Also, reordering commands in preamble does not prevent these errors from occurring.


Download (343B)


  description = {feathered animal}





The bug is in the TeX parser library not in glossaries-extra.sty. This issue has been migrated.



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.


You can use the following markup:


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

In line:

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

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

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

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

Page permalink: