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 | 156🔗 |
---|---|
Submitted by: | Nicola Talbot 🦜 |
Date: | 2020-03-21 19:31:11 |
Status | Closed (Fixed) |
Category | glossaries-extra |
Version | 1.43 |
Summary | indexonlyfirst doesn't work with bib2gls |
Sign in to subscribe to notifications about this report.
Description
Theindexonlyfirst
option doesn't work with bib2gls. This is because \glswriteentry
uses \ifglsused
which does neither the true nor false part if the entry is undefined (which occurs on the first LaTeX run before bib2gls is called). This means that the entry doesn't have a record in the aux file when it doesn't exist, so bib2gls doesn't select it.
MWE
Download (257B)
% arara: pdflatex % arara: makeglossaries % arara: pdflatex \documentclass{article} \usepackage[record,indexonlyfirst]{glossaries-extra} \GlsXtrLoadResources[src=example-glossaries-brief] \begin{document} \gls{lorem}. \printunsrtglossary \end{document}
Evaluation
Fixed in v1.44, which now uses \GlsXtrIfUnusedOrUndefined
instead of \ifglsused
.
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=156