From: Chris B. <Chr...@no...> - 2004-10-26 16:08:51
|
Gary wrote: > Matplotlib doesn't support \text, and it requires that the first and > last characters of a TeX string be $. I guess it only processes > mathmode. Well, it can't do *everything*. Oh well, I've always thought that if you want to support Math in a graphics package, you would actually use TeX, rather than emulating it. Maybe like PyX: http://pyx.sourceforge.net/ The problem, of course, is that requiring a TeX system is a BIG dependency! It would be nice if one could re-package the Tex interpreter to be embedded. I have no idea how big a job that would be. You'd also have all the font issues, of course, but while that would all be a lot of work, I'm not sure it would be more work than trying to re-write TeX! -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |