Mojca Miklavec wrote:
> On 3/11/07, Hans Hagen wrote:
>   
>> Aditya Mahajan wrote:
>>     
>>> On Fri, 9 Mar 2007, Aditya Mahajan wrote:
>>>       
>>>> On Fri, 9 Mar 2007, Mojca Miklavec wrote:
>>>>
>>>>         
>>>>> Hello,
>>>>>
>>>>> I have something for (most probably) Hans/Taco/Aditya to resolve:
>>>>>
>>>>> \enableregime[utf-8]
>>>>> \starttext
>>>>> \startformula\startalign
>>>>>     \NC a \NC = b \NR
>>>>> \startintertext
>>>>> �e �etrta mo�nost
>>>>> %
>>>>> For those with problems with encoding, \ccaron should be enough to
>>>>> reproduce the bug.
>>>>> \stopintertext
>>>>>     \NC c \NC = d \NR
>>>>> \stopalign\stopformula
>>>>> \stoptext
>>>>>           
>>> \unexpanded\def\dointertext#1%
>>>    {\penalty\postdisplaypenalty
>>>     \afterdisplayspace
>>>     {\forgetall\noindent#1\par}%
>>>     \penalty\predisplaypenalty
>>>     \beforedisplayspace}
>>>       
>> in cont-new.tex ....
>>
>> \def\dealwithmathtextencoding
>>  
>> {\expanded{\everyhbox{\the\everyhbox\noexpand\fastenableencoding{\currentencoding}}}%
>>    \def\dealwithmathtextencoding{\let\characterencoding\nocharacterencoding}%
>>    \dealwithmathtextencoding}
>>
>> \appendtoks
>>   \dealwithmathtextencoding
>> \to \everymathematics
>>     
>
> Thanks a lot for your answers, but neither approach seems to work here.
>
>   
of course not, i just copied what is already in cont-new -) 

the \everyhbox makes sure that you get your scaron an da vbox is no hbox 

i'm not sure if 

\def\dealwithmathtextencoding
 {\expanded{\everyhbox
    {\the\everyhbox\noexpand\fastenableencoding{\currentencoding}}}%
  \expanded{\everyvbox
    {\the\everyhbox\noexpand\fastenableencoding{\currentencoding}}}%
  \def\dealwithmathtextencoding
    {\let\characterencoding\nocharacterencoding}%
  \dealwithmathtextencoding}

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to