Bug Tracker 
| ID | 212🔗 |
|---|---|
| Submitted by: | Nicola Talbot 🦜 |
| Date: | 2022-10-20 08:33:08 |
| Last update: | 2023-06-28 11:04:52 |
| Status | Closed (Fixed) |
| Category | glossaries-extra |
| Version | 1.49 |
| Summary | table block-style 'name' shows spurious comma with empty other field |
Sign in to subscribe to notifications about this report.
Description
The 'name' block style with glossary-table.sty only tests if the "other" field is set but not if it's empty. The test needs to change from\GlsXtrIfFieldUndef to \ifglsfieldvoid. Similarly \GlsXtrIfFieldUndef{desc} needs to change to \ifglshasdesc and \GlsXtrIfFieldUndef{symbol} needs to change to \ifglshassymbol in \glstableSubNameSingleFmt.MWE
Download (490B)
% arara: pdflatex
% arara: makeglossaries if found("aux", "@istfilename")
% arara: bib2gls: {group: on} if found("aux", "glsxtr@resource")
% arara: pdflatex
% arara: pdflatex if found("log", "Rerun to")
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[record,stylemods=table]{glossaries-extra}
\GlsXtrLoadResources[
src=example-glossaries-acronyms-lang,
selection=all]
\begin{document}
\printunsrttable
[
block-style=name,
par=ragged,
other=useri
]
\end{document}
Evaluation
This will be fixed in v1.50.
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=212
