News for hackers. Stuff that matters.
Re:Mathjax by PaulTopping on Tuesday December 15, 2009 @05:31PM (#997612)
Word got out on MathJax a little early, as things tend to do on the web. We barely got a sample page up. Although it probably won't matter, our hope is you don't hammer MathJax too hard until we get things going and officially announce. Very soon now!

Paul Topping Design Science, Inc. (one of the MathJax founders)

Re:Mathjax by slug on Tuesday December 15, 2009 @07:16PM (#997759)
Nice work! I can see the rendered formulas with firefox (3.5.5) but not with konqueror (kde 4.3.3).
Re:Mathjax by sandGorgon on Wednesday December 16, 2009 @02:12AM (#998280)
renders perfectly with chromium-linux
Re:Mathjax by jacobolus on Wednesday December 16, 2009 @12:21AM (#998168)
For the in-line version, is it possible to get the baseline on an equation to align with the baseline of the surrounding text? In your current demo page they are a bit off.
Re:Mathjax by anigbrowl on Wednesday December 16, 2009 @04:16AM (#998406)
This is really great. Good work.
Re:Mathjax by snewe on Tuesday December 15, 2009 @04:15PM (#997440)
If you have a wordpress blog, wordpress.com will convert your latex to images using this plugin:

http://wordpress.org/extend/plugins/wp-latex/

Re:Mathjax by est on Tuesday December 15, 2009 @07:33PM (#997782)
Undocumented Google Chart API for LaTeX:

http://chart.apis.google.com/chart?cht=tx&chs=1x0&ch...

Re:Mathjax by jwr on Tuesday December 15, 2009 @02:47PM (#997224)
We've been using jsMath on our FogBugz wiki internally for a while now. I'm very glad this is going mainstream. It's a lifesaver for companies that use wikis and do math.
Re:Mathjax by mhartl on Tuesday December 15, 2009 @08:12PM (#997859)
Yeah, so this is basically awesome. I've written a LaTeX-based markup language that I'm using for my Ruby on Rails Tutorial book (http://www.railstutorial.org/book), but it's really designed for putting math & physics books on the web as HTML while still making nice PDFs. One big challenge I've faced is making nice HTML math typesetting, which I solved using texvc (the secret of Wikipedia's math typesetting), but unfortunately texvc is no good at inline math. I was not looking forward to solving that problem. Along comes MathJax, and now I don't have to!

N.B. Being able to benefit from unexpected advances like this is exactly why I standardized on LaTeX, even though it's kind of a pain to convert it to HTML. If you're trying to solve the math typesetting problem and not using LaTeX, you're on the wrong (coughMathMLcough) track.

Re:Mathjax by PaulTopping on Saturday December 19, 2009 @12:04PM (#1004882)
MathML allows math to be rendered to speech for people with disabilities, something that LaTeX won't do. It is also a much more solid REPRESENTATION. It is not an input language like LaTeX. Think of LaTeX as YOUR favorite math UI, whereas MathML is an underlying representation. The fact that you can View Source and read it is immaterial.
Re:Mathjax by cool-RR on Tuesday December 15, 2009 @05:46PM (#997635)
Very exciting. This project looks impressive and I really hope it succeeds.

Also, what would be really orgasmic is if it would be possible to type math in Latex inside the browser and see it displayed nicely like that. But this is probably asking for too much.

Re:Mathjax by gnosis on Tuesday December 15, 2009 @05:57PM (#997652)
Now that they've gotten this far, what you describe can't be too far away.
Re:Mathjax by christopherolah on Tuesday December 15, 2009 @01:55PM (#997102)
This came up on the sage (FOSS alternative to Mathematica and freinds) mailing lists and I thought I'd post it here.

It always surprises me how difficult math on the Internet has turned out to be. Hopefully this can help...

Re:Mathjax by hyperbovine on Tuesday December 15, 2009 @05:45PM (#997633)
MathML was supposed to be the answer, and we all know how that went. Just goes to show how over the top people were going with XML in the late 1990s. I mean,

  <math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
  <mrow>
    <mi>x</mi>
    <mo>=</mo>
    <mfrac>
      <mrow>
        <mo form="prefix">&#x2212;<!-- &minus; --></mo>
        <mi>b</mi>
        <mo>&#x00B1;<!-- &PlusMinus; --></mo>
        <msqrt>
          <msup>
            <mi>b</mi>
            <mn>2</mn>
          </msup>
          <mo>&#x2212;<!-- &minus; --></mo>
          <mn>4</mn>
          <mo>&#x2062;<!-- &InvisibleTimes; --></mo>
          <mi>a</mi>
          <mo>&#x2062;<!-- &InvisibleTimes; --></mo>
          <mi>c</mi>
        </msqrt>
      </mrow>
      <mrow>
        <mn>2</mn>
        <mo>&#x2062;<!-- &InvisibleTimes; --></mo>
        <mi>a</mi>
      </mrow>
    </mfrac>
  </mrow>
  </math>
to typeset the fucking quadratic formula?
Re:Mathjax by PaulTopping on Saturday December 19, 2009 @12:01PM (#1004878)
MathML is not a human input language! MathML is a representation. While comparisons with TeX and LaTeX are inevitable, they serve different purposes. Look at the HTML/CSS used to render a dynamic menu sometime. I'm sure it is pretty ugly too.
Re:Mathjax by gfodor on Tuesday December 15, 2009 @06:09PM (#997674)
Wow.. this is the missing piece to the puzzle for a project I'm thinking about working on soon. Is this going to be open source?
Re:Mathjax by christopherolah on Tuesday December 15, 2009 @03:04PM (#997270)
It would be neat if we could use something like this to render equations on HN...
Re:Mathjax by mreid on Tuesday December 15, 2009 @04:45PM (#997517)
I guess mobile Safari is not one of the 20+ browsers that are supported at present. Anyone else not seeing rendered math on their iPhone?
Re:Mathjax by andreyf on Tuesday December 15, 2009 @03:32PM (#997346)
Neat! But... Mathjax - Math JavaScript and XML?
Re:Mathjax by zackattack on Tuesday December 15, 2009 @07:26PM (#997774)
AJAX is not about XML anymore. A lot of people use XHRs with JSON. AJAX now refers to the dynamic phenomenon. So their name is indeed appropriate. Evolution.
Re:Mathjax by blasdel on Tuesday December 15, 2009 @07:57PM (#997823)
XMLHttpRequest : XML :: JavaScript : Java :: Hamster : Ham

They never had anything to do with one another, it's just the module that Microsoft happened to dump it in.

Re:Mathjax by andreyf on Wednesday December 16, 2009 @01:35AM (#998244)
They never had anything to do with one another

Not completely true... The X in XHR stands for XML, as that's what it parses natively [1], whereas parsing JSON wasn't native until relatively recently. JavaScript had Java's syntax. Not sure about hamsters and ham...

1. http://msdn.microsoft.com/en-us/library/ms534370(VS.85).aspx

Re:Mathjax by blasdel on Wednesday December 16, 2009 @04:13AM (#998404)
From your link: "responseXML was introduced in Windows Internet Explorer 7" - in October 2006. XHR was first shipped with Internet Explorer 5 - in March 1999!

JavaScript's syntax is less like Java's than any other popular language that idiomatically uses curly-braces to delimit blocks.

Hamster starts with Ham, but they are as unrelated as two things can be that exist in the same broad category (flesh).

Re:Mathjax by andreyf on Wednesday December 16, 2009 @05:17AM (#998491)
Yeah... giving them the benefit of the doubt, that's misleading wording: XMLHttpRequest is an object in the JS namespace as of IE7. Before that, you needed to import an ActiveX Object, which has supported requestXML since MSXML 2.0 (that's IE5). See: http://msdn.microsoft.com/en-us/library/ms757066(VS.85).aspx
Re:Mathjax by WesleyJohnson on Tuesday December 15, 2009 @07:57PM (#997825)
Isn't that kind of like SAT no longer standing for anything and it just being the name of the test now? Or, was that movie just making that up?
Re:Mathjax by blasdel on Wednesday December 16, 2009 @04:22AM (#998417)
No, it's more like if the SAT was partially named for the type of soil underlying the foundation of the building occupied by the school where the tests were first given, and then had its hype cycle fueled by shittily-paraphrased press releases from garden supply distributors.

It's Pataphor: http://en.wikipedia.org/wiki/%27Pataphysics#Pataphor

Re:Mathjax by andreyf on Wednesday December 16, 2009 @12:15AM (#998159)
Re:Mathjax by pmichaud on Tuesday December 15, 2009 @03:38PM (#997358)
This is really impressive-looking. I have at least one site that would benefit from this big time.
Re:Mathjax by Jach on Wednesday December 16, 2009 @12:40AM (#998187)
That's cool it's grown out of jsMath; I've been pretty happy with that for a while now.
Re:Mathjax by nanexcool on Tuesday December 15, 2009 @04:17PM (#997444)
Tab is crashing on Google Chrome 4.0.266.0 on Ubuntu.
Re:Mathjax by Confusion on Wednesday December 16, 2009 @05:54AM (#998525)
Hmmm, no problem in 4.0.249.30, from the recently released linux version on a Debian system.
Re:Mathjax by PaulTopping on Saturday December 19, 2009 @12:05PM (#1004884)
Actually, MathJax.org is our preferred URL.
Re:Mathjax by wkdown on Tuesday December 15, 2009 @02:51PM (#997235)
503 ... anyone have a mirror?
Re:Mathjax by christopherolah on Tuesday December 15, 2009 @03:03PM (#997269)
It's fine for me, but you can always use the Google cache: http://74.125.93.132/search?q=cache:Xm1IG5QALKUJ:www.mathjax...