* Synonyms’ \infull doesn’t work anymore
@ 2015-05-01 2:11 Thomas Floeren
2015-05-01 9:47 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Floeren @ 2015-05-01 2:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Synonyms’ \infull doesn’t work anymore
2015-05-01 2:11 Synonyms’ \infull doesn’t work anymore Thomas Floeren
@ 2015-05-01 9:47 ` Wolfgang Schuster
2015-05-01 12:04 ` Thomas Floeren
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2015-05-01 9:47 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Synonyms’ \infull doesn’t work anymore
2015-05-01 9:47 ` Wolfgang Schuster
@ 2015-05-01 12:04 ` Thomas Floeren
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Floeren @ 2015-05-01 12:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
> On 01 May 15, at 11:47, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
>
>> 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}
>
Ah, thank you!
I was close … more or less ;-)
--
Tom
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-01 12:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-01 2:11 Synonyms’ \infull doesn’t work anymore Thomas Floeren
2015-05-01 9:47 ` Wolfgang Schuster
2015-05-01 12:04 ` Thomas Floeren
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).