Skip to content

bib2gls, glossaries-extra: label autocompletition and linking in editor #2963

@iAnyKey

Description

@iAnyKey

Environment

  • TeXstudio: 4.5.1

  • Qt: 6.4.2

  • OS:
    Edition Windows 11 Pro
    Version 22H2
    Installiert am ‎16.‎05.‎2022
    Betriebssystembuild 22623.1325
    Leistung Windows Feature Experience Pack 1000.22639.1000.0

  • TeX distribution:
    TeX 3.141592653 (TeX Live 2022)
    kpathsea version 6.3.4

Description

In case if acronyms are defined in a .tex file for example with:

\glsxtrnewsymbol[description=	{Kontaktradius},
	unit={mm}]
	{sym:rKontakt}
	{\ensuremath{r_{Kontakt}}}

It is possible to see them semantically linked in editor and enjoy autocompletition:
grafik

and crosslinked definition view:
grafik

and much more.

The drawback of using glossaries in such mode is the sorting functionality. Thus I'm forced to define all acronyms and symbols in .bib files like:

@symbol{sym:rKontakt,
	description=	        {Kontaktradius},
	name=			{\ensuremath{r_{Kontakt}}},
	unit=			{mm}
}

... and follow the bib2gls approach.

In this case all these labels appear as undefined in texstudio and there is no such functionality as described above.

Is there a possibility to get access to labels, which were defined via bib2gls in texstudio?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sunderme@iAnyKey

        Issue actions

          bib2gls, glossaries-extra: label autocompletition and linking in editor · Issue #2963 · texstudio-org/texstudio