2

I am using \input{GlossaryEntries} to include a list of glossary entries to my document. As this list easily gets long and therefore bad to overview, I would like to list every \newglossaryentry{entry}{...} in the structure tab of TexMaker. This would allow easy navigation to the entries and easy ordering once a new entry is added.

Is it possible to list custom command entries, such as above, to the structures tab of TexMaker (or another editor)?

\documentclass{article}
\usepackage[acronym]{glossaries}
\makeglossaries

\newacronym{abc}{ABC}{a contrived acronym}

\newglossaryentry{computer1}
{
  name=computer1,
 description={computer1}
}

\newglossaryentry{computer2}
{
 name=computer2,
description={computer2}
}

\newglossaryentry{computer3}
{
name=computer3,
description={computer3}
}

\begin{document}

\gls{abc} 

\gls{computer3}

\end{document}

Now it would be awesome if "ABC", "computer1", "computer2", "computer3" was selectable in the structure tab of TexMaker.

  • 1
    Welcome to TeX.SX! Could you add a minimal working example (MWE). Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass and ending with \end{document}. - 1) Do you mean something like the structure of chapter, section,... (on the left) for every glossaryentry? – Bobyandbob Sep 2 '17 at 9:55
  • That's exactly what I mean. That a similar list like that of chapter / sections etc. is made for glossaryentries within a .tex file. I will try to add a MWE, even though I guess it has more to do with the capability of TexMaker / Editor than with TeX. Unless one could use e.g. label{...} within the glossary entry to create a label entry for each glossary in the structure tree. But as it is in the preamble I dont think this works. – Steffen Sep 2 '17 at 12:27
  • You might be interested in bib2gls which is currently still under development but should be uploaded to CTAN soon. It was developed in response to Is there a program for managing glossary tags? The glossary entries are stored in a .bib file and can (hopefully) be managed in JabRef, making them easier to manage. – Nicola Talbot Sep 2 '17 at 12:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.