Hello! Although I am not in glossries I have kept a solution which was provided in May 2010 by Philip Gesang. After checking and a short conversation with Hans, the solution works just fine. May be this is something to consider in projects, where glossaries are needed.
Kind Regards Willi On May 18 2026, at 7:24 am, Henning Hraban Ramm <[email protected]> wrote: > Am 15.05.26 um 19:54 schrieb Wolfgang Schuster: >> If you want an automatic glossary, where only referenced word appear >> you >> need \definesynonyms (you can find an example in the wiki). >> >> For a manual glossary where you provide a list of words for the >> reader >> you can use \startitemize in combination with \txt for short entries >> or >> use the description mechanism ´when you have long entries. > > For the Glossary in my German ConTeXt book, I used this: > > \definedescription[Lemma][ > headstyle=bold, style=normal, > align={flushleft,hanging,verytolerant}, > alternative=serried, > distance=0.5em, > width=fit, indent=3em, > before=, after=,] > > \defineprocessor[glossar][color=ColGlossar] > > \define[2]\startlemma{\startLemma{#1}\index[glossar->]{#1}\textreference[lemma:#1]{#1}\doifsomething{#2}{ > {\it〈{\en #2}〉}~}} > > \define\stoplemma{\stopLemma} > > \define[1]\seelemma{→\about[lemma:#1]} > > \define[1]\ctx{{\tfx\tt❲\,\color[ColLeitf]{#1}\,❳} \autoinsertnextspace} > > > And then: > > \startlemma{Example}{English translation} \ctx{\CONTEXT\ term} > Description \seelemma{Something}\stoplemma > > The lemmas are sorted manually and referenced in the normal keyword > index, but colored. > > Hraban > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry > to the Wiki! > > maillist : [email protected] / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___________________________________________________________________________________ >
glossar.tex
Description: Binary data
glossarium.lua
Description: Binary data
glossarium.tex
Description: Binary data
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
