Additional notes for the bug I have reported.

I guess the problem is in the definition of \AA:text in mahml.4ht and
mozilla.4ht.  There is a  \Configure{$} in the definition ensuring that
math between $ work but no \Configure{()} for math between \( and \).

So the bug maybe fixed by adding \Configure{()} with similar arguments as
those of \Configure{$} but adding two $ to enter and exit math mode.

Therefore, I suggest the following patch, which seems to work for me.
To avoid repetition, I have introduced a new \Configure{$,()} for
simultaneously configuring $ and ().  (I am not sure how to handle the
different number of arguments of these configurations.)

Patch:

--- /usr/share/texmf/tex/generic/tex4ht/mathml.4ht      2005-12-28 
13:38:27.000000000 +0100
+++ tex4ht/mathml.4ht   2006-03-05 17:02:55.000000000 +0100
@@ -58,6 +58,9 @@
    \Configure{PROLOG}{VERSION,*XML-STYLESHEET}
 \fi
 
+\NewConfigure{$,()}[3]{\Configure{$}{#1}{#2}{#3}%
+  \Configure{()}{#1$}{$#2}}
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   
 \endinput\empty\empty\empty\empty\empty\empty
@@ -513,7 +516,7 @@
 \HCode{<\a:mathml mstyle\Hnewline \mml:class="#1"><\a:mathml
    mtext \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}%
 \PauseMathClass
-   \Configure{$}%
+   \Configure{$,()}%
   {\EndPauseMathClass \mtextfalse
       \ht:special{t4ht@,}%
 \HCode{</\a:mathml mtext><\a:mathml
@@ -1934,7 +1937,7 @@
 \HCode{<\a:mathml mstyle\Hnewline \mml:class="#1"><\a:mathml
    mtext \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}%
 \PauseMathClass
-   \Configure{$}%
+   \Configure{$,()}%
   {\EndPauseMathClass \mtextfalse
       \ht:special{t4ht@,}%
 \HCode{</\a:mathml mtext><\a:mathml


--- /usr/share/texmf/tex/generic/tex4ht/mozilla.4ht     2005-12-28 
13:38:27.000000000 +0100
+++ tex4ht/mozilla.4ht  2006-03-05 17:03:24.000000000 +0100
@@ -191,7 +191,7 @@
    \HCode{<!--mstyle\Hnewline
       class="#1"--><\a:mathml mtext \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}%
 \PauseMathClass
-   \Configure{$}{\EndPauseMathClass \mtextfalse
+   \Configure{$,()}{\EndPauseMathClass \mtextfalse
        \ht:special{t4ht@,}%
 \HCode{</\a:mathml
                    mtext><!--mstyle\Hnewline class="math"-->}}


Best wishes,

        Gabor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to