On Thursday 26 July 2007 5:54:18 pm Jouni K. Seppänen wrote: > It seems that the improvements finally allow users to mix mathtext with > ordinary text, as in 'foo $a=b^c+d$ bar', which I believe has been > requested a lot. This is really cool, but I think it causes another > backward incompatibility: you could use dollar signs in text strings > (except if you wanted a dollar sign both at the beginning and at the end > of a string), but now dollar signs only work if you use an odd number of > them. > > My suggestion is to distinguish between mathtext and normal text at a > level outside the string. For example, > > text(['foo ', Math(r'a=b^c+d'), ' bar']) > > where Math is a wrapper object that signals to "text" that its contents > are to be passed to the mathtext interpreter.
I would like to voice my opinion against this idea. I think the backward imcompatibility will be rare, and does not justify the additionaly complexity of the far more common need to interpret mathtext. Darren ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel