From: Thomas Floeren <thfl@mac.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Synonyms’ \infull doesn’t work anymore
Date: Fri, 01 May 2015 14:04:28 +0200 [thread overview]
Message-ID: <9BECCB09-BEB1-4AE1-928D-12EEFCDB1773@mac.com> (raw)
In-Reply-To: <2E6F32E0-6357-4343-9D36-314FD4C804F5@gmail.com>
> 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
___________________________________________________________________________________
prev parent reply other threads:[~2015-05-01 12:04 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
2015-05-01 12:04 ` Thomas Floeren [this message]
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=9BECCB09-BEB1-4AE1-928D-12EEFCDB1773@mac.com \
--to=thfl@mac.com \
--cc=ntg-context@ntg.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).