The problem is with a broken mathml engine in OpenOffice 2.
eqnarray
--------
The \begin{eqnarray}a&=&b\end{eqnarray} is translated by tex4ht into
<mi>a</mi><mo>=</mo><mi>b</mi>
and is loaded as
matrix {a # = # b}
by OO2 into a broken display. The xtpipe phase `fixes' the problem by
producing improper mathml output
<mi>a</mi><mtext>=</mtext><mi>b</mi>
which OO2 loads as
matrix {a # "=" # b}
and provides proper display.
double subscript
----------------
The output of tex4ht on $x_{i_j}$ is
<math:msub>
<math:mrow>
<math:mi>x</math:mi>
</math:mrow>
<math:mrow>
<math:msub>
<math:mrow>
<math:mi>i</math:mi>
</math:mrow>
<math:mrow>
<math:mi>j</math:mi>
</math:mrow>
</math:msub>
</math:mrow>
</math:msub>
and OO2 loads the code into a broken format and view x_i_j. The same
outcome occurs when tex4ht is modified to produce the following output.
<math:msub>
<math:mi>x</math:mi>
<math:msub>
<math:mi>i</math:mi>
<math:mi>j</math:mi>
</math:msub>
</math:msub>
A manual editing of x_i_j into {x}_{{i}_{j}} or x_{i_j} provides the
proper display (and identical mathml code). I don't know what kind of
mathml code tex4ht should produce to obtain correct display in OO2.
> mk4ht oolatex test.tex seems to produce incorrect output.
> At least my oowriter (2.0.3) does not like the double indices $x_{i_j}$
> without further grouping.
> In oomath input syntax it produces x_i_j, which should be x_{i_j}.
>
> A similar effect produces
> \begin{eqnarray}a&=&b\end{eqnarray}, where the "=" expects two operators, but
> "a # = # b" is produced. Both '{}={}' and '"="' (oowriter syntax) produce
> useful output.
> Note: xtpipes won't accept the eqnarray. So, please try it with commenting
> it out.
> Note: I didn't check against the newer versions of tex4ht mentioned in
> Bug#384578.
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers dapper-updates
> APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500,
> 'dapper-proposed'), (500, 'dapper-backports'), (500, 'dapper'), (500,
> 'breezy'), (500, 'testing'), (500, 'stable')
> Architecture: amd64 (x86_64)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.15-1-amd64-generic
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
>
> Versions of packages tex4ht depends on:
> ii libc6 2.3.6-15 GNU C Library: Shared libraries
> ii libkpathsea4 3.0-17 path search library for teTeX
> (run
> ii tetex-bin 3.0-17 The teTeX binary files
> ii tex4ht-common 20060619-1 LaTeX and TeX for Hypertext
> (HTML)
>
> tex4ht recommends no packages.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]