Bug Tracker 
| 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 definedSee 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
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=262
