TransWikia.com

bib2gls handling of "dual"-prefix for "see" and "seealso"

TeX - LaTeX Asked by flindeberg on February 10, 2021

I cannot get bib2gls to handle see (or seealso) properly from an @dualabbreviationentry to a normal entry (i.e. without dual-prefix to the label).

It seems like bib2gls automagically generates / prepends labels with dual for all entities which are secondary glossary entries. In this case the entries with labels icmp and tcp generate see-labels for dual.quic and dual.udp, none of which exist. The bib-file references quic and udp, without the dual-prefix.

I have scourged the manuals but found no comments on this.

MWE:

documentclass{article}

usepackage{filecontents}
begin{filecontents*}{jobname.bib}
  @dualabbreviationentry{icmp,
    see = {quic,udp,tcp},
    short = {ICMP},
    description = {ldots},
    long = {Internet Control Message Protocol}
  }

  @entry{quic,
    see = {icmp},
    name = {QUIC},
    description = {Originally an ldots }
  }

  @abbreviation{udp,
    short = {UDP},
    long = {User Datagram Protocol}
  }

  @dualabbreviationentry{tcp,
    seealso = {quic,udp,icmp},
    short = {TCP},
    description = { Some ldots },
    long = {Transmission Control Protocol}
  }
end{filecontents*}

usepackage[colorlinks]{hyperref}
usepackage[record,abbreviations]{glossaries-extra}

setabbreviationstyle{long-short}

GlsXtrLoadResources[
    src={jobname}
]

begin{document}

section{Some "dual" missbehaviour}

Here come gls{quic}, a glossary entry, and here comes gls{icmp}, an
abbreviation. And another abbreviation, gls{tcp}.

printunsrtglossary[type=abbreviations]
printunsrtglossary

end{document}

Warnings from log:

Package glossaries-extra Warning: Glossary entry `dual.quic’ has not
been defin ed on input line 49.

Package glossaries-extra Warning: Glossary entry `dual.udp’ has not
been define d on input line 49.

Example output, note the "??" where dual.quic and dual.udp cannot be resolved.
example

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP