Synonyms’ \infull doesn’t work anymore
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. Thanks for help. Best, -- Tom
Am 01.05.2015 um 04:11 schrieb Thomas Floeren
: 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
On 01 May 15, at 11:47, Wolfgang Schuster
wrote: Am 01.05.2015 um 04:11 schrieb Thomas Floeren
: 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}
Ah, thank you! I was close … more or less ;-) -- Tom
participants (2)
-
Thomas Floeren
-
Wolfgang Schuster