On Tue, Feb 24, 2009 at 00:06, Wolfgang Schuster wrote:
Am 23.02.2009 um 17:27 schrieb Mojca Miklavec:
Hello (Hans, Aditya),
I know that neither of you is interested in mkii at the moment, but there's a nasty bug that probably has a trivial fix in alignment environments. Unicode characters have some problems inside \intertext{...}
\startformula\startalign \intertext{še če je že}
\intertext{\mbox{še če je že}}
But then it becomes a box, while \intertext can be a paragraph in general.
\stopalign\stopformula
I've digged out an old thread: http://thread.gmane.org/gmane.comp.tex.context/23043 Subject: [NTG-context] accents inside text mode inside math Date: 2005-10-20 On Wed, Nov 9, 2005 at 20:43, Hans Hagen wrote:
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
Using \intertext{\rm še če je že \dorecurse{100}{bla}} works OK, but it would be nice to fix it globally/automatically. I also found this: http://thread.gmane.org/gmane.comp.tex.context.devel/486 This solves the problem, but I'm not sure if it's the right fix and it also needs to be fixed for \startintertext: \def\intertext#1% {\noalign{\dointertext{\rm#1}}} Hans? Thanks a lot, Mojca