## Thursday, January 11, 2007

### LaTeX on Blogger

I have finally succeded to implement a LaTeX compiler for Blogger based on Greasemonkey: for example : $\sum_{i=0}^{n} = \frac{n(n+1)}{2}$ 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 . Finally Blogger is becoming more math friendly... Enjoy

Tags:

#### 21 comments:

Peter said...

Great I added a link on my blog to this post and the French post. Thanks for your comment on my blog. I will try out your solution this evening. I also would like to addd LaTeX to Second Life objects and create an open source blackboard for mathematicians and others who use LaTeX so they can write LaTeX in Second Life. There's a challenge for you. I would sell the blacboard but also give it away for free and open source the Second Life Object.

Peter said...

Sorry I accidentally flaged your blog as objectble which it is not. I was unable to retract this so am placing this appology here. I forgot what the flagging button was for and thought it was an internal blogger bookmarking system. I am deeply sorry.

Corsair said...

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

ChengMeng said...

This is a really excellent idea.I hope it will become better.
The link to googlepages seems to be broken?

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...

The minitex server you were using is copyright. Did you account for this? The LaTeX on blogger seems to be down now.

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...

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.

JoNy_SaTiÉ said...

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

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.

CaArLoz said...

Thanks for the script!!!!!
It works great!!!!
I really needed it!!!!
Now I can write mathematical functions on my blog!!!!
Excellent blog, excellent work!!!!
Mmmmhh, Thanks again!!!!

QFTor said...
This comment has been removed by the author.
QFTor said...
This comment has been removed by the author.
Pedro Osorio G. said...

The Blogger fails to transform latex into images, and said:
"The public mimeter server is for testing.for production.....Thank you,John Forkosh.."

How do I fix this?

Thanks

watchmath said...

Hi, I have another solution to write latex on Blogger. It is based on mathtex.
It can write latex symbol by just putting latex code inside two dollar signs.
Check out my article here: http://watchmath.com/vlog/?p=438