ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart_guthoehrlein@public.uni-hamburg.de>
Subject: nested synonyms
Date: Tue, 10 Jul 2001 13:57:08 +0200	[thread overview]
Message-ID: <5.1.0.14.0.20010710134210.00a9c008@public.uni-hamburg.de> (raw)

I have noticed that synonyms which are used only in the expansion of other 
synonyms will not be included in the list of synonyms if they themselves 
are used in the list of synonyms only. I don't really understand this 
sentence myself, so here is an example:

\abbreviation{CNS}{Crystallography \& \NMR\ System}
\abbreviation{NMR}{Nuclear Magnetic Resonance}
\starttext
	\CNS\ is an abbreviation % for \infull{CNS}
	\completelistofabbreviations
\stoptext

The list of abbreviations will only have one item (CNS). Removing the '%' 
character results in both items being listed.

Not surprisingly, I noticed this in two similar situations: with defined 
synonyms of another kind calling abbreviations not used elsewhere in the 
text, and with abbreviations used in the list of publications only (with 
m-bib).

Do I have to take care of this manually? If so, and if I don't want
\setupsynonyms[abbreviation][criterium=all],
then
{\setbox0=\hbox{\NMR}}
is an acceptable solution: no output in the dvi file, but context fooled to 
consider the abbreviation used in my text...?

Eckhart


             reply	other threads:[~2001-07-10 11:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-10 11:57 Eckhart Guthöhrlein [this message]
2001-07-10 14:33 ` Hans Hagen

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=5.1.0.14.0.20010710134210.00a9c008@public.uni-hamburg.de \
    --to=eckhart_guthoehrlein@public.uni-hamburg.de \
    /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).