Latest news 2024-10-15: New blog post: Tales for Our Times Book Launch.

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 262🔗
Submitted by: Nicola Talbot 🦜
Date: 2023-06-28 10:27:14
Last update: 2023-06-28 13:18:10
Status Closed (Fixed)
Category glossaries-extra
Version 1.50
Summary mgls records not written to aux file if tikz loaded

Sign in to subscribe to notifications about this report.

Description

If the tikz package is loaded, \@glsxtr@mglsrefs is not written to the aux file by \mgls.

If \usepackage{tikz} is commented out in the MWE, the following line is correctly written to the aux file:

\@glsxtr@mglsrefs{cbot}
This line is missing if \usepackage{tikz} is uncommented.

This means that bib2gls is unable to pick up the compound references, which causes the warning:

Package glossaries-extra Warning: Multi entry `cbot' hasn't been defined
See bib2gls issue #23 on GitHub.

MWE

Download (442B)

% arara: pdflatex
% arara: bib2gls
% arara: pdflatex
\begin{filecontents*}{\jobname.bib}
@abbreviation{clostridium,
  short={C.},
  long={Clostridium}
}

@index{botulinum,
  parent={clostridium}
}

@compoundset{cbot,
  elements={clostridium,botulinum}
}
\end{filecontents*}
\documentclass{article}

\usepackage{tikz}
\usepackage[record]{glossaries-extra}

\GlsXtrLoadResources

\begin{document}
\mgls{cbot}
\printunsrtglossary
\end{document}

Evaluation

Workaround: add \mglsWriteSeparateRefsTrue to the preamble.

Fixed in v1.52.

Comments

0 comments.


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=262