On Sat, Nov 21, 2009 at 06:30:35PM -0500, Aryeh Gregor wrote:
On Fri, Nov 20, 2009 at 3:39 AM, Alexander Shulgin alex.shulgin@gmail.com wrote:
So, there can be no way to provide non-alpha transparent image to satisfy all possible styles.
No, but if the overwhelming majority of viewers see a light blue background, it would make a lot more sense to have a light blue background on the formula than a white background. Both will look wrong on some style, but they may as well at least look right on the default style.
If we want to skip transparency and just allow changing the background to any other solid color, it looks like it's pretty easy for a bare-bones fix: just add this as line 736 (in r59357) of texutil.ml:
| "\pagecolor" -> (tex_use_color (); LITERAL (TEX_ONLY "\pagecolor"))
Then people can use the "\pagecolor{...}" command to change the background just as they can use "\color{...}" now to change the foreground color (see [[m:Help:Math#Color]]).