From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: Synonyms’ \infull doesn’t work anymore
Date: Fri, 1 May 2015 11:47:49 +0200 [thread overview]
Message-ID: <2E6F32E0-6357-4343-9D36-314FD4C804F5@gmail.com> (raw)
In-Reply-To: <BF49DB1A-7807-448F-9C9D-CFEF8052AE27@mac.com>
> Am 01.05.2015 um 04:11 schrieb Thomas Floeren <thfl@mac.com>:
>
> Hi,
>
> starting with the Beta from 16 April I have a problem with synonyms. The \infull part doesn’t work anymore.
>
> Example:
>
> ```
> \definesynonyms [Tea] [Teas] [\fullTea]
> \setupsynonyms [Tea] [synonymstyle=italic]
> \Tea [tFop] {FOP} {Flowery Orange Pekoe}
>
> \starttext
> \tFop\ is ‘\fullTea{tFop}’.
> \stoptext
>
> ```
>
> I can make it work again with some hackery in the strc-syn.mkiv file: If I copy back the line
> `\simplelistparameter\c!textcommand{\clf_synonymmeaning{#1}{#2}}%` (e.g. from the Beta 14 April) into the `strc_synonyms_insert_meaning` definition (at line ~338) it works again.
You have to change the definition for the \strc_synonyms_insert_meaning command.
\unexpanded\def\strc_synonyms_insert_meaning#1#2% name tag
{\begingroup
\def\currentsimplelist{#1}%
+ \def\currentsynonymtag{#2}%
+ \fastsetup{\??simplelistrenderings::\v!text}%
- \fastsetup{\??simplelistrenderings:\v!text}%
\endgroup}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2015-05-01 9:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-01 2:11 Thomas Floeren
2015-05-01 9:47 ` Wolfgang Schuster [this message]
2015-05-01 12:04 ` Thomas Floeren
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=2E6F32E0-6357-4343-9D36-314FD4C804F5@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).