[NTG-context] accents inside text mode inside math

Hans Hagen pragma at wxs.nl
Wed Nov 9 20:43:36 CET 2005


Taco Hoekwater wrote:

>
>
>
> Hans Hagen wrote:
>
>>
>> actually, \cases{&\tf \ccaron}$ works ok
>
>
> Without the \tf, \characterencoding is '@default@' instead
> of '@ec@'. Does that help pinpoint the problem?

this seems to work, the problem is that there is no \everyfam

\starttext

\def\enableencodinginmath
  {\appendtoks
     \everyhbox{\mr\everyhbox\emptytoks}%
     \everyvbox{\mr\everyvbox\emptytoks}%
   \to \everymath}

\enableencodinginmath

$\cases{& \ccaron}$

$x=\hbox{\ccaron$x=\hbox{\ccaron}$}$

\stoptext




More information about the ntg-context mailing list