From: Bruce Horrocks <ntg@scorecrow.com>
To: ntg-context mailing list <ntg-context@ntg.nl>
Cc: damien@thiriet.web4me.fr
Subject: [NTG-context] Re: whitespace inside synonym
Date: Thu, 2 Jan 2025 11:08:29 +0000 [thread overview]
Message-ID: <6A1B699C-0885-4238-9005-3CAA15C4FDDC@scorecrow.com> (raw)
In-Reply-To: <95b7c737c67ae79bd3112d0171e1a8d8@thiriet.web4me.fr>
> 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
___________________________________________________________________________________
next prev parent reply other threads:[~2025-01-02 11:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-31 17:18 [NTG-context] " Damien Thiriet via ntg-context
2025-01-02 11:08 ` Bruce Horrocks [this message]
2025-01-02 11:29 ` [NTG-context] " Damien Thiriet via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6A1B699C-0885-4238-9005-3CAA15C4FDDC@scorecrow.com \
--to=ntg@scorecrow.com \
--cc=damien@thiriet.web4me.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).