Re: equation editing at abi word

From: J.M. Maurer <uwog_at_uwog.net>
Date: Tue Jun 20 2006 - 20:32:49 CEST

On Mon, 2006-06-19 at 10:51 +0200, reuter@uni-bonn.de wrote:
> Am 18.06.2006, 23:11 Uhr, schrieb yotam <yotama9@gmail.com>:
>
> > well, maybe the problem is with my program but, when ever I'm typing "&"
> > signal (which is needed for matrix creating) I get an error message:
> >
> > "itex2MML failed to convert the LaTeX equation into MathML, sorry!"
> >
> > what am I doing wrong?
> >
> > thanks
>
> Well, I got quite confused with this behaviour too. Obviously the equation
> editor doesn't take standard LaTeX but some variant called "iTeX".
> Googling that yields http://pear.math.pitt.edu/mathzilla/itex2mmlItex.html
> for example.

For the record: that ^^^ link is outdated. Maintainership has moved
here:

http://golem.ph.utexas.edu/~distler/blog/

Since the changes we had to make to itex2MML to make it work with
AbiWord are all included 'upstream', we can track it's development now
quite easy now.

Therefor, I've just integrated the latest version (1.1.5) into the
AbiWord development tree, which includes more compatible AMSLaTeX
support (see
http://golem.ph.utexas.edu/~distler/blog/itex2MMLcommands.html for
details).

With some luck, and if I can get it tested, it will be AbiWord 2.4.5 as
well. To make this happen, I'll try to provide at least a Windows
installer in the coming days which includes that support. I'll need you
all to test it. If there is any interest, I can provide Fedora Core
binaries too.

> So an matrix-equation is written this way:
>
> J_{Pol}^R = \left[ \array{\epsilon_R & c_{Ry} \\ c_{Rx} & \tau_R} \right]
> \approx \left[ \array{\epsilon_R & 0 \\ 0 & \tau_R} \right]

Alternatively, in AbiWord 2.4.5 (with some luck!) the following will
work too:

\begin{aligned}
   A =& \begin{pmatrix}a & b \\ c & d \end{pmatrix} \\
   A^{-1} =& \frac{1}{\det A} \begin{pmatrix}d & -b \\ -c & a \end{pmatrix} \\
     =& \frac{1}{a d - b c} \begin{pmatrix}d & -b \\ -c & a \end{pmatrix}
\end{aligned}

Note that you still need to write it on ONE line. I'll try to fix that
next.

> This example works in my version of AbiWord. So try this to check that
> your installation works correctly. (Note: Probably the Epsilon won't be
> displayed correctly - that's a known bug which will be hopefully be fixed
> soon.)
> Unfortunately AbiWord always gives the general error message you wrote
> above and never a detailed description of what went wrong.

This is hard to fix at the moment, but it may do a more proper job in
the future :)

Marc

-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request@abisource.com with the word
unsubscribe in the message body.
Received on Tue Jun 20 20:33:53 2006

This archive was generated by hypermail 2.1.8 : Tue Jun 20 2006 - 20:33:54 CEST