On Thu, Nov 19, 2009 at 19:49, Aryeh Gregor
<Simetrical+wikilist(a)gmail.com> wrote:
On Thu, Nov 19, 2009 at 2:12 AM, Alexander Shulgin
<alex.shulgin(a)gmail.com> wrote:
I agree. I'm willing to contribute some C or
C++ code to do the low
level stuff of changing colors in the image. How do I proceed?
That's almost certainly unnecessary. texvc already uses some type of
image processor (dvipng?) that can presumably be configured to output
in any desired color. This part should thus be a one-line change --
see the patch at <https://bugzilla.wikimedia.org/show_bug.cgi?id=9341>
for how it would likely be done. The rest of the patch would be
hacking PHP (and maybe OCaml, ugh) code to accept the new parameter
and pass it down to the right place. includes/Math.php would likely
be the place to start here.
Unfortunately, this is not that easy or probably just impossible.
Turns out, that for that particular page (and most likely for other
pages which have this problem), the background of table heading is
specified through table class (hence, CSS):
in mediawiki:
{| class="standard"
in html:
<table class="standard">
So, there can be no way to provide non-alpha transparent image to
satisfy all possible styles. And alpha-transparency won't do the
trick for styles with black background. Duh!
I think we cannot do something sensible now, so we'll just have to
wait for MathML support from most popular browsers.
--
Regards,
Alex