Thursday, January 11, 2007

LaTeX on Blogger

I have finally succeded to implement a LaTeX compiler for Blogger based on Greasemonkey: for example arrow : in fact the display is not really good on this blog, but on a blog with a white background, it is really good. I have written a quick Howto, just follow this link: Howto have LaTex equation on Blogger biggrin. Finally Blogger is becoming more math friendly... Enjoy lol

12 comments:

Corsair said...

Hi. Great work! Though I cannot use it in my blog (for color reason)... :-p Keep going!

Spook said...

Hm. This is neat and all, but I don't want my blog posts to be dependent on a CGI script hosted on some other server...

Vrellum said...

Nice. If only there were a way of altering the colors it would be superb.

Diego said...

Thank you very much!! Excellent workaround...

Oh, there is a little bug in the script,
class=\\\"latex_eq\\\"
is missing, you now where ;-)

Krishna said...

hey, thanks for the nice utility. it works well for me :)

however, from yesterday, the public mimeTEX server address got changed and maybe you want to update your script.

I have listed a small patch in
http://dsplog.blogspot.com/2007/03/latex-on-blogger-not-working.html#links

thanks.

Dan said...

Wow! That's really Cool!
Now I can show some equation in my post. Thanks
I also added a link on my blog to here.Thanks again. I love Latex.

Peter said...

Thanks it still works I needed to update Greasemonkey only.

Vanaja said...

Excellent work. It works well in my blog, which has a white background.
Thank you very much. :)

ServalX02 said...

Hmmm in fact, I am not sure it is possible to add it for comment, just because you cannot add pics in a comment... So it is impossible...

JoNy_SaTiÉ said...

Ehhh I have found the mistake. Don't worry ... thanks again.

JoNy_SaTiÉ said...

Thanks for this tool. I followed all your steps and It works perfectly.

There's just one thing. When I copy-paste the code to the CSS, and then see my blog, it appears
"img.latex_eq { padding: 0; margin: 0; border: 0; } " on the top of it.

What did I make wrong?

http://jonysatie.blogspot.com/

send me an e-mail, please. jonysatie@gmail.com

Thanks.

XCthulhu said...

Hey Wolverine,

I discovered your utility today and I have been having a lot of fun! This is exactly the tool I need to write up my ideas online...

Incidentally, I made a few changes. For one, I switched the code to mathtex instead of mimetex, as mimetex is now deprecated. I also added in an alt field into the images the code generates that holds the original equation typeset.

I might get around to fixing your code to have an undo feature as well as an "unlatex" feature, as I think that should be relatively easy enough to do now it keeps a copy of the original equation in the alt field of the img tags it generates.