[NTG-context] Synonyms’ \infull doesn’t work anymore

Wolfgang Schuster schuster.wolfgang at gmail.com
Fri May 1 11:47:49 CEST 2015


> Am 01.05.2015 um 04:11 schrieb Thomas Floeren <thfl at 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


More information about the ntg-context mailing list