Do you think it would be easy to change the current behavior ? do you want me 
to try to propose a workaround ? I am not so familiar with mkiv files, but I 
can try.


> Le 27 juin 2020 à 19:16, Wolfgang Schuster 
> <wolfgang.schuster.li...@gmail.com> a écrit :
> 
> Garulfo schrieb am 27.06.2020 um 19:00:
>> Hi Wolfgang,
>> 
>> Did you manage to have a look at the previous message
>> Fri Jun 26 23:38:48 CEST 202023
>> https://mailman.ntg.nl/pipermail/ntg-context/2020/098596.html
>> 
>> It contains two MWE :
>> 
>> 1/ mult-def.lua.test1_figure.diff
>> 
>> 2/ mult-def.lua.test2_itemize.diff + test2_itemize.tex
>> 
>> (not about the font issue, but the two others)
> 
> The cause for the missing translations is this line in x-setups-basics.mkiv
> 
>     replace('cd:instances/cd:constant', 'value', variables)
> 
> which works only when the instances are listed in the command entry like this
> 
>     <cd:command name="itemgroup" type="environment" ... >
>         ...
>         <cd:instances>
>             <cd:constant value="itemize"/>
>         </cd:instances>
>     </cd:command>
> 
> which is never the case because I load the entries with cd:resolve like here:
> 
>     <cd:define name="instance-itemgroup">
>         <cd:constant value="itemize"/>
>     </cd:define>
> 
>     <cd:command name="itemgroup" type="environment" ... >
>         ...
>         <cd:instances>
>             <cd:resolve name="instance-itemgroup"/>
>         </cd:instances>
>     </cd:command>
> 
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to