[NTG-context] $\sin \theta$ behave differently in metafun

Bruce Horrocks ntg at scorecrow.com
Sat Apr 16 12:30:13 CEST 2022


> On 16 Apr 2022, at 05:56, śrīrāma via ntg-context <ntg-context at ntg.nl> wrote:
> 
> Hi Hans and Mikael (and others on the list),
> 
> I can confirm that even with the newest LMTX [2022.04.15 20:20] the above might 
> actually be a bug. mfunctions inside MP strings are not properly rendred. A  
> tiny MWE:
> 
>  \starttext
>    \startMPcode
>    draw textext("\m{\max_i x_i}");
>    \stopMPcode
>  \stoptext
> 
> Could trace it down to '\math_function_handle_label' [math-ini] but not sure 
> what MP is doing. Also looked into mp-mlib, mlib-pps but could not figure it 
> out. I request you to kindly look into it.

The MWE works fine[1] in 
system          > ConTeXt  ver: 2022.01.10 08:36 LMTX  fmt: 2022.1.13  int: english/english
if that helps track down when the breaking change was made.

[1] Caveat: since the OP doesn't actually describe what is going wrong I may be mistaken.
—
Bruce Horrocks
Hampshire, UK



More information about the ntg-context mailing list