Tuesday, September 29, 2009

test, ignore


\int_{0}^{1}\frac{x^{4}\left(1-x\right)^{4}}{1+x^{2}}dx
=\frac{22}{7}-\pi


You know, I think I won't delete this. It's a celebration of my having embedded some TeX using the advice at Bot Cyborg.

8 comments:

  1. Unfortunately, it doesn't work in RSS aggregators like Google Reader.

    ReplyDelete
  2. In your feed it shows up as the unrendered TeX.

    ReplyDelete
  3. Yeah, it's not a great method is it. It also relies on a 3rd party web site which doesn't make me happy.

    ReplyDelete
  4. I also noticed that even a browser it took a moment to render the image, and you could see the underlying TeX before it was rendered and replaced.

    ReplyDelete
  5. I use ASCIIMathML on my blog and it works ok, except users need to have MathML activated. There is also jsMath which seems more flexible. Why don't you try one of these?

    ReplyDelete
  6. Well jsMath is looking the best so far.

    But the Javascript dependencies in all of these methods are bothering me. Won't work in feeds etc.

    I'm tempted to learn Google's APIs and tweak my simple markup language to support uploading of images generated from embedded TeX. All round it's a pretty unsatisfactory state of affairs.

    ReplyDelete
  7. yet another version of the java script solution: LaTeXMathML which I've had good success. I just put it up on one of my own servers and linked to it in my blogger template. It suffers from the same drawbacks -- lag in rendering, doesn't render in feeds, etc. But there it is.

    ReplyDelete
  8. I think a good solution for me right now would be to do markup offline so that I don't have an external dependency. Maybe I can borrow the guts of one of these javascript solutions to do that. The problem then is to find a subset of outputs that is visible by, say, 95% of readers without forcing them to download fonts. I guess I can just post another test. I already have a markup of my own that handles some simple TeX type stuff to convert things like \Delta, ^ and _ to lowest common denominator HTML.

    ReplyDelete