LaTeX Support

| 11 Comments

The Panda’s Thumb now has 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

11 Comments

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

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…

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

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?

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

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.

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?

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.

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.

You need atleast IE 5.5 to render the pngs correctly.

About this Entry

This page contains a single entry by Reed A. Cartwright published on March 27, 2004 2:09 PM.

CSI, the original series… was the previous entry in this blog.

Panda’s Thumb Comment Integrity Policy is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Categories

Archives

Author Archives

Powered by Movable Type 4.381

Site Meter