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

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