Posted by Reed A. Cartwright on March 27, 2004 02:09 PM

The Panda's Thumb now has $\mbox{\LaTeX}$ support based on a plugin I developed. I chose to go with converting the equations to pngs because MathML support is not where I'd like it in today's browsers. I'd like to thank Wesley for updating some software on the server to allow this to work. *Mutation-Selection Balance* $${\Delta}q \approx \mu-sq^{* 2} \approx 0 \Rightarrow \mu \approx sq^{* 2} \Rightarrow q^* \approx \sqrt{\frac{\mu}{s}}$$

Trackback URL: http://www.pandasthumb.org/cgi-bin/mt/mt-tb.cgi/52

Comment #313

Posted by D. Eppstein on March 27, 2004 03:38 PM (e) (s)

The background color of the equation doesn’t match the background on the rest of the page in my browser (Safari) — it’s a little darker than it should be.  I assume this is the usual problem with pngs and gamma settings, e.g. see http://www.hut.fi/u/hsivonen/png-gamma.html…

Comment #314

Posted by Nomen Nescio on March 27, 2004 03:51 PM (e) (s)

FWIW, that background looks fine on my machine (galeon 1.3.8/linux), which is rather surprising because my monitor is so decrepit and dark that the hardware alone usually screws up gamma settings beyond all repair for me. the wonders of web technology, i suppose…

Comment #316

Posted by Nix on March 27, 2004 04:58 PM (e) (s)

Aaah, it’s nice indeed to see Computer Modern again. :)

Comment #323

Posted by Reed A. Cartwright on March 27, 2004 10:21 PM (e) (s)

Eppstein,

I’m sorry that Safari doesn’t work for you.  I looked at the link and counldn’t figure out what the solution would be.  Do you know of one, especially if it can be done with Image::Magick?

Comment #324

Posted by Loren Petrich on March 28, 2004 01:14 AM (e) (s)

I’m also using Safari, and I also find a faint difference. I took a screenshot and examined it with Photoshop, and I found:

Page bkgd color: 255,255,204 - #FFFFCC
Equation bkgd color: 255,255,194 - #FFFFC2

The page bkgd color agrees with what’s in the styles file styles-site.css

The text colors were more difficult to verify, because of their antialiasing, but the page text color was consistent with the styles-file value of 102,51,0 - #663300

However, the equation color seems to be 82,35,0 - #522300

Comment #326

Posted by Reed A. Cartwright on March 28, 2004 02:36 AM (e) (s)

Safari apparantly doesn’t render the colors equally.  The png’s background is really #FFFFCC.  I’m working on changing the tex2png plugin so the background is transparent.  However, that will require a workaround for IE.  There might be a way to compromise.

Comment #375

Posted by Matt on March 28, 2004 09:55 PM (e) (s)

Funny, but the background looks fine on my OS X machine running Safari, but it’s BLACK on my Windows machine running IE.

But anyway, how would I use the LaTeX capability?

Comment #376

Posted by Reed A. Cartwright on March 28, 2004 10:00 PM (e) (s)

Matt,

IE has a bug.  It doesn’t render transparent png’s correctly.  There is a workaround javascript, I just haven’t implemented it yet.

When I’m done with this latest update, I’ll explain LaTeX syntax to the authors.

Comment #431

Posted by Mike on March 29, 2004 03:40 PM (e) (s)

Windows 2000, IE 5:  Dark brown (?) characters on a black background.  At least, the ALT tag works, and you can sort of figure out what it is.

For laughs, I brought it up in Netscape 4.7.  The entire background is black, but the text is almost readabe.

Comment #444

Posted by Reed A. Cartwright on March 29, 2004 06:31 PM (e) (s)

You need atleast IE 5.5 to render the pngs correctly.

Comment #37348

Posted by old slut nude on July 8, 2005 08:13 PM (e) (s)

Thanks!

Post a Comment

Use Kwickcode Formatting to markup your comments. You may need to refresh before you will see your comment.




Remember personal info?