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.
Mojca
_______________________________________________
dev-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-context