On 7/16/07, Michael Droettboom <[EMAIL PROTECTED]> wrote:

> 1. Deal with nested sub/superscripts, such as $x_i_j$, equivalent to
> $x_{i_j}$
> 2. Make the font change tags (\cal, \tt, \rm etc.) behave more like TeX,
> In general, is the goal with mathtext to become as TeX-compatible as
> possible (for some subset of standard TeX math syntax?)  The reason I
> ask is, (1) above is not valid LaTeX and raises the error "Double
> subscript".  Task (2) will break backward compatibility with existing
> matplotlib plots.  In the long run, maintaining two codebases or two
> separate paths through the same codebase probably won't scale.

Sorry I didn't address these on the first pass

Maximum compatibility with LaTeX is definitely the goal, within
reason.  By that I mean, if we do something different and can fix it,
we should.  I don't mean we should try and support everything that
LaTeX does, at least not this month <wink>

As for 1), the double subscript error, I thought it worked in TeX and
if it doesn't we should not support it.  My comment in the TODO list
may have simply reflected this ignorance.

As for 2, the font syntax,  we need not break existing mpl code,
because both \rm{text} and {\rm text} work in latex.  We'll just be
adding support for the 2nd idiom.

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to