> On 31 Dec 2024, at 17:18, Damien Thiriet via ntg-context <ntg-context@ntg.nl> 
> wrote:
> 
> Hello,
> 
> I am using the synonym mechanizm to design a glossary for my pupils.
> I am stuck with this: how can I insert a whitespace inside a synonym 
> definition?
> 
> What I achieved yet is:
> 
> \definesynonyms [vocabulaire] [vocabulaire] [\LaDef]
> \starttext
> 
> 
> \vocabulaire{Unionpersonnelle}{Deux États sont en union personnelle 
> lorsqu’ils ont le même souverain}
> 
> \Unionpersonnelle\
> \placelistofvocabulaire
> 
> \stoptext
> 
> I would like to typeset Union personnelle, without inserting a UTF-8 non 
> breakable space.
> I tried {{Union personnelle}}, but don't know how may I escape the space in 
> the macro.
> The answer may lay in lowlevel-macro, but I couldn't find it.

Not sure this helps you much but there is:

\definesynonyms [vocabulaire] [vocabulaire] [\LaDef]
\starttext
\vocabulaire[UP]{Union personnelle}{Deux États sont en union personnelle 
lorsqu’ils ont le même souverain}

\UP\
\placelistofvocabulaire

\stoptext

—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
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
___________________________________________________________________________________

Reply via email to