Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
The Internet

MathML 2.0 Becomes W3C Proposed Recommendation 80

Nearly three years after the officialization of MathML's first generation, MSjogren writes: "W3C has announced the advancement of MathML 2.0 to Proposed Recommendation. Check out the W3C Math home page. Now I just wish I could get it to work decently in Mozilla too :(" Part of the proposed recommendation is this explanation of some of the difficulties and aims of mathematical expression, especially when it comes to transmitting over the Web, which emphasizes the importance of a format which can be written to by various tools as appropriate, for reading by anyone.
This discussion has been archived. No new comments can be posted.

MathML 2.0 Becomes W3C Proposed Recommendation

Comments Filter:
  • I cannot but be pleased with this innovation; it enables the creation on the Web of a perfect logical notation to resemble my "Begriffsschrift [harvard.edu]", or "concept-script". This shall allow for the statement of propositions such that their grammatical form models their logical form, and as such is a development of the highest importance.
  • TeX is great and it will continue even after MathML is accepted. However, I am very glad to see MathML since a way of displaying mathematical expressions in web pages without images is something that I have wanted for a long time.

    I suppose that we could just have a tag that allows TeX formatted stuff to be used, but I think its best that web pages use something that is consistent with HTML's idioms.


    "Homo sum: humani nil a me alienum puto"
    (I am a man: nothing human is alien to me)

  • Mozilla (since M18 at least) supports MathML out of the box. I'm sure the support isn't 100% complete or bug-free, but looking at a couple of demonstration pages it can do some pretty impressive stuff.

    It supports only the "presentational" markup, not the "semantic" form, so unless you are amazingly patient you probably need a tool to generate it (there is a TeX to MathML converter available already) and you have to use XHTML in your web pages because XML-in-HTML is not supported by Mozilla. It also isn't included in all builds, and Netscape didn't choose to build it in NS6.

    All that said, it works! I can view MathML pages today in my usual browser :)

    Stuart.
  • Scientists, mathemeticians, doctors, and STUDENTS!!!

    I'm only a little out of school, and I remember how math was one of the bottlenecks in my studies. For most of high-school, a good calculator, $50 - $100, was all I needed to breeze through Algebra. The simple interface and display was enough to do most problems, except for geometry. Computer tools really did help me understand concepts and check my work.

    Calculus changed that. You feel like you need a quill pen just for the notation, and it feels like you are hacking your own tools to do simple problems. It doesn't get better as you go on, with more complex subjects adding more notation. And I thought only classical students needed to learn Greek.

    I'm not saying this will change the way we teach the natural sciences and engineering, but it will facilitate a new generation of computer-based tools, the same way a graphing calculator was a leap over the basic scientific calculator.

    Now we are closer to an age where the textbook, the notebook, the scratch paper, the homework assignment, the completed homework, the exam, and the calculator all have the same interface, and the student doesn't have to constantly translate between the media.
  • Exactly...I'm in charge of designing and building placement testing for my university [iupui.edu] and every damn year we look at MathML and find that it STILL isn't working as promised.

    I design a lot of adaptive testing (get one right get a harder question, get one wrong get an easier....but the branching algs are much more complicated) and it sucks to have to have an image file for each item in the testing bank. If I need to make a change, its into one of a number math softs and then photoshopping the results.

    If I want to do truely adaptive and add some random elements, I can make the computer create a similar question to see if the student really understands (or doesn't understand) before giving them another level to look at. Its nearly impossible right now. I had to build a gif creator and a small scripting language which completely kills server performance with any ammount of students. With MathML, I could simply throw in the random bits and calculate the answers and let the client computer take care of the rest.

    This is just my needs, but I can think of a dozen other uses that could directly benefit students. I've helped set up a few tutoring sites for folks and this would be great to build large libraries of questions without becoming too repetative. Most students learn by repeatedly doing something and if they are repeatedly doing the same questions, they are only learning to memorize the answers.

    Blah...give me MusicalML and I'll be just as happy :-) I'm sick of outputting scores to GIF to demonstrate examples and stuff. Wasn't XML supposed to allow us to build this stuff without plugins and stuff????

    clif
    Manager of Development
    Testing Center [iupui.edu]
    Indiana University Purdue University Indianapolis

    (and)
  • Using bitmaps for equations is a disaster. I have a physics book [lightandmatter.com] that I made using PageMaker (which is a horrible, buggy piece of software, BTW) and math typesetting software called Expressionist (very nice, and inexpensive). I put years of sweat into making it look all beautiful in printed and PDF form. When it came time to make an html version [lightandmatter.com], I made the equations into gifs because that was the only option I had. All those gifs make it slow-loading, and what's worse is that it looks horrible in most people's browsers. One reason it looks so awful is that everybody has different fonts, and every browser has a different default font size. So the equations don't match the text in terms of font and font size.

    The other problem with doing equations as bitmaps is that it breaks the functionality of the web. Visually impaired people can make the font bigger, but the equations will stay small. You can't search through it. You can't do text-to-speech. You can't change your stylesheet and have all the equations change style as well.

    As far as LaTeX,

    1. it's never going to be learned by more than 0.01% of the world's population,
    2. it represents a 1970's-style approach to making a user interface (ooh, you mean I get my own terminal instead of having to hand someone a stack of punched cards?), and
    3. its aggressive stance on separating form from content means that you have to jump through hoops to make a complicated layout turn out how you want it.
    I can understand why math and physics journals encourage submissions in LaTeX, because they want to take away the authors' freedom to format their paper according to their own preferences. But it's just not appropriate for many other situations.


    The Assayer [theassayer.org] - free-information book reviews

  • One of the stated goals [w3.org] is:
    • Facilitate conversion to and from other mathematical formats, both presentational and semantic. Output formats should include... other mathematics typesetting languages, such as TeX.
    • ...because of the many legacy documents in TeX, and because of the large authoring community versed in TeX, a priority in the design of MathML was the ability to convert TEX mathematics input into MathML format.


    --
  • The problem with TeX is that is doesn't preserve content, which is one of the goals of MathML. $f(a+b)$ can be interpreted as either "f of a plus b" or "f times the quantity a plus b". If I select expression in my web browser and paste it into my favorite math program, how does it interpret it? This ambiguity will exist for content generated from TeX in either case, but if the expression is generated in a math program, it will be able to embed the interpretation, conserving the content. Then when someone copies it into another math program, the program automatically knows how to interpret it.

    HTH

    Brett

  • i think by keeping the HTML idioms you create alot of complexity/messyness in the code. i could see having a TEX tag like
    <TEX>
    insert raw tex input here
    </TEX>

    with standard wrapping/alignment/etc instructions in the opening tag. but adding more stuff is kind of silly if there is already a well documented way of doing the same thing.

    use LaTeX? want an online reference manager that
  • Um, Netscape is up to at least 4.75...

    But anyway, Mozilla hasn't yet hit optimizing stages yet, so it won't become fast for another few months. So be patience, and the browser you want will arrive. ^_^
  • For years, I've been wanting to put my class notes up on the web for my students, in a hyperlinked form. The problem has always been that I could get good looking equations by just putting up a PDF, or I could get hyperlinks by using one of the TeX to HTML converters, but I've never been able to get both.
    Of course, even when MathML allows good TeX to HTML conversion, I'm still going to have a good time trying to get the converters to work with all the AMS-Latex extension macros (ever try to use HyperLaTeX and AMSLaTeX at the same time? Ugh!). It's going to be plain LaTeX for a long time, folks.
  • Maybe if you didn't care about it you wouldn't have written about it, but since you took the time to waste your time and ours with your lame comment you must care about this story in some form or another.

    Every rule has an exception, and this is the only rule with no exceptions! Huh? -- Spatch
  • That's why I don't pay that much attention to the W3C. Great, it's a standard--in another year maybe software will start to implememnt it.
  • And when they do, it will run slow and be full of security vulnerabilities and allow scr1pt k1d33s to haXor your site.

    Vunerabilities such as specifing to do nasty things with pi, and e, and the number 1. Think of the chaos! ...<mo><mo><mo>... Buffer overflow problems are probably going to be the first things to break. ^_^

  • [After lots of detail on how his physics book typeset with jury-rigged tools went down in flames, especially on the web...]
    As far as LaTeX,
    1. it's never going to be learned by more than 0.01% of the world's population,
    2. it represents a 1970's-style approach to making a user interface (ooh, you mean I get my own terminal instead of having to hand someone a stack of punched cards?), and
    3. its aggressive stance on separating form from content means that you have to jump through hoops to make a complicated layout turn out how you want it.

    You give me the giggles. :-)

    Seriously, you sound very confused to me. Your hand-baked approach to putting physics on the web didn't work so well, because, as you point out, there was no way to separate form from content that way. But then you slam on TeX for, well, trying to enforce that useful separation.

    The second objection is (I think) to the way that TeX actually dares to compile your document, report errors, and work essentially in batch mode. Yes, that can be infuriating at times, but the advantage is that, at the end of the day, your work really could be device independent. Giving up that is giving up the farm, in my opinion.

    The first objection is the one that I found most amusing, though. Like, so what if only one person in ten thousand ever learns to use LaTeX? Many fewer people than that ever create anything that needs it. Heck, only a few people in a hundred ever create anything much at all, and it's a given that fewer people know how to use tools than know how to appreciate the results of tool use.

    We are the geeks; the people who use tools.

    The people who use tools to make tools.

    The people who use tools to design tools to make tools. We are the lords of the Shell, the emperors of Perl, we dominate the DOM.

    You're totally right that bitmaps aren't the way to do equations (or lots of other things). I can agree that LaTeX isn't perfect or even that close. But it was the tool that showed that not everything had to be set by hand, that math could be free, that something like MathML would eventually become a worthy successor. Worthy, that is, if we're clever enough to design a useful input device for the stuff...

  • I think this is really cool, but vector graphics are more important. I hope someone codes a WYSIWYG editor for this, because my brain can handle only so man bad acronyms between . Now just convince MS to adopt this standard.
  • Have a gander at XHTML modularization (behind which MathML was a big driver). No more need to wait for specs to settle down for everything, just what you need.
  • by crisco ( 4669 )
    Has the W3C reccomended SVG?

    Not Quite [w3.org]

    It is getting close though, and with plugins and authoring support already coming from the major graphics application vendors, promises to have a chance of being used in the mainstream.

    Combine SVG with a DOM and scripting support (the obvious being Java^H^H^H^HECMAScript) and you have the beginning of an open standard Flash killer.

  • You mean SVG [w3.org]? The non-proprietary W3C developed vector graphics format that I can view (admittedly only a limited subset of) in my browser [mozilla.org] today?

    Stuart.

  • The M18 milestone of Mozilla has binaries with the MathML support compiled in, so you might like to give that a try. If you feel a little more adventurous, here are some pages with more recent binaries with MathML support - Linux [dymaxion.org] and Win32 [dhs.org]. These also have SVG support compiled in as well for vector images and the Linux binaries have XSL as well.

    For more general information, take a look at the Mozilla MathML page. [mozilla.org]

    Cheers,

    Toby Haynes

  • i would agree. after you get over the initial hump TeX (or rather LaTeX) is really easy. i would say that I think LaTeX's shortcoming is lack of advertisement. People simply just dont know about it. It's a shame really.
    $\frac{1}{x}$ to write 1/x
    is pretty easy, i'll have to check out the math ml and see what it's like. or i'll probably just write everything in LaTeX and use tex2html which has pretty nice output.

    use LaTeX? want an online reference manager that
  • Phew! That makes me feel a LITTLE better. However, remember that Java is also at 2.0, and look at the problems that still linger (the most notable slowdowns are still due to the nature of Java itself).

  • Some of you might be interested in the MathML and SVG of Mozilla. That build requires NO PLUG-INS to do simple SVG and decent MathML.

    The future of the web should be: built in SVG (and for math stuff: built in MathML). Most of the little graphics and font hacks that are currently necessary to build a web page would go away if we can get built in SVG in the major browsers.

    When people think SVG and they hear that it is a replacement for Flash, they don't realize that the advanced features of Flash are not could be put to immediate use on most web pages. Scaleable fonts of a guaranteed size and simple graphics are must more valuable. Take the page that you are reading right now for example. There should be no reason that you have to download the title bar text "Slashdot News for Nerds..." as a pixmap graphic.

    Plug-ins are not the best solution for MathML and SVG/Flash.
  • And 3 or 4 years down the road some butthole company will announce they have a patent on it and start trying to extract royalties from the community. Worked for Unisys...
  • "Wasn't XML supposed to allow us to build this stuff without plugins and stuff?"
    no. xml is a standard. it's up to users to adopt it.
  • The W3C lives in a fantasy world where we all have good WYSIWYG tools for doing all of our HTML design. Complexity doesn't matter, as the tools handle it all for us. Unfortunately, at the current state of the art, the good tools suck and the bad tools (which everybody seems to use) produce HTML of Lovecraftian horror. We're gonna be doing it (or at least cleaning it up) by hand for a long time, folks.

    MathML is another one of those things that tries to be all things to all people, all at the same time. Result is yet another markup language trying to be a page description language.

    As a counter suggestion, how about something based on the old eqn preprocessor for troff? Simple and easy to understand, and far more in the "content, not format" spirit than MathML. Brian Kernighan was supposedly [cmu.edu] working on something like this. Any news?

    --
  • ..because of the many legacy documents in TeX, and because of the large authoring community versed in TeX, a priority in the design of MathML was the ability to convert TEX mathematics input into MathML format.

    i dont see why they cannot just take raw tex formatting and use that. why create a whole other language to do the same thing?

    use LaTeX? want an online reference manager that
  • The article says: Modern mathematical notation is the product of centuries of refinement, and the notational conventions for high-quality typesetting are quite complicated.

    That notations are complicated is clear, but it's not clear to me that there have been centuries of refinement. My impression is that it's more like months of refinement spread out across centuries of accepting the status quo.

    When someone creates a new form of mathematics, she usually get to define the notation for it. If she has no ability in design or semiotics, you may end up with something very far from clear and optimal. In creating notation, you want to take the abstract and make it concrete. But many mathematicians thrive in the highly abstract, and find beauty in representing entire constructs with a single letter.

    The strong sense of continuity and tradition in mathematics seem to ensure that the notation will likely be frozen in that state. If we were to take all we've learned about psychology, perception, and structured computer programming, we could probably come up with a unified notational system for math that streamlined everything considerably. Just a hypothesis.
  • We've got a package developed in-house that combines Perl, TeX, dvi2html and several equation formatting tools to be able to generate any function we need in an acceptable appearance. AND, it can do on-the-fly equations as well... so long as you count "on-the-fly" as "within 20 seconds or so when the server isn't busy". :)

    -Chris
    ...More Powerful than Otto Preminger...
  • I'm glad you read the spec [w3.org] before starting to rant. The language is trying to create mathematical prettiness *AND* content. It appears to me that if you restrict yourself solely to the content tags, you can safely ignore how notation is displayed on the page.
  • This MathML is an XML DTD, and that is what causes the observed verbosity and non-user friendlyness of it. XML is a very strict and confining data format. It was desinged to be optimal for ease of parsing, defining document types, and to separate content from formatting. A side effect of this is that it becomes much more difficult to read or write XML code by hand.

    To see what I mean compare any hand written HTML document with a compliant XHTML document. What it comes down to is this: non-trivial XML documents basically have to be machine generated.

    Whether this is a good or a bad thing is left as an excersize for the reader. I personanly think that no matter how many open-source/portable/perfect document generators there are, there will always be a market for typing this stuff in straight text, in a format designed to be hand-editable.

    I really personally dont see what the big deal is with XML. Its a nice system for defining text document formats that follow a narrow set of rules and can be edited by hand (but doing that is error prone and unforgiving of mistakes). Its not going to change the world per-se, though it might help to unify formatted documents.

  • After lots of detail on how his physics book typeset with jury-rigged tools went down in flames, especially on the web...
    Funny, I don't remember saying it went down in flames anywhere. "Especially" on the web? No, it didn't "go down in flames" anywhere. Not on the web, not in PDF. Not in a car, not in a boat, not on a train. All I remember saying is that the equations were ugly and slow-loading in the html version, because they were bitmaps.

    "Jury-rigged tools"? Did I say that? I can't seem to find it in my original post.

    Your hand-baked approach to putting physics on the web didn't work so well, because, as you point out, there was no way to separate form from content that way.
    Not at all. PageMaker does have stylesheets and other mechanisms for separating form from content. They work fine, and that wasn't the problem with the conversion to html. The problem with conversion to html was that I had to do the equations as bitmaps. Maybe you should actually read people's posts before replying to them. The whole thing is a www/html/browser problem, not a problem with PageMaker (although PageMaker is replete with other problems, like crashing a lot).

    ...then you slam on TeX for, well, trying to enforce that useful separation.
    The key word is enforce. I don't want it enforced, because sometimes machines are stupid and makes the wrong choices.

    The people who use tools to design tools to make tools. We are the lords of the Shell, the emperors of Perl, we dominate the DOM.
    I'd think the appropriate attitude for a Lord of Bits would be that if you want to do something, the computer shouldn't make you have to jump through hoops to do it. Do you also want a language that doesn't let you operate on data types at the bit level? Do you want an OS like Windows that doesn't let you change the startup screens? Gosh, if MS didn't enforce a particular startup screen on you, someone might get hurt.


    The Assayer [theassayer.org] - free-information book reviews

  • Netscape is up to 6. The problem is that 6 is worse than 4.72.


    The Assayer [theassayer.org] - free-information book reviews

  • When I first heard of MathML I was very excited. I had been doing all of my math in LaTeX. But for writing I sometimes prefered HTML because of it was interpreted (faster), cleaner in some respects, and graphically stronger (nested tables, images, colors).

    And then I laid my eyes on some sample MathML.

    To write (a+b)^2 in MathML you would have to do this (paraphrased from the W3C's page).

    <MATH>
    <MROW>
    <MSUP>
    <MFENCED>
    <MROW>
    <MI>a</MI>
    <MO>+</MO>
    <MI>b</MI>
    </MROW>
    <MFENCED>
    <MN>2</MN>
    <MSUP>
    <MROW>
    </MATH>

    Whereas in LaTeX, you would write $(a+b)^2$.

    This is nothing new, MathML1.0 looked just as bad, pure shit infact. It was never intended to be written or read by hand, but to be a low level, generallity of math typesetting. And this begs the question, what the fuck is it for? It is ML and therefore it is highlevel, all those tags don't make it any more readable by a computer, like <MO>+</MO> wow plus is a math operator, no shit. TeX powerful enough to describe everything mathmatical, and simple enough to write by hand. Why?

    Why, why, why? We don't write javascript with tags. I for one won't write anything unless I can do a <MATH LANG="TeX">.
  • i thought so too, and the alt tags hold the LaTeX code for that particular equation.

    use LaTeX? want an online reference manager that
  • One thing I'd wonder about is what a MathML expression would look like in a browser that didn't support MathML. Would it look vaguely like the actual expression, but without superscripts and subscripts, etc.? Or would it look to the reader like I, the html author, was a complete idiot? (I mean, any more than usual.)

    If Opera or iCab ever support it, that would probably finally motivate me to dump NS 4.72. But I'm sorry, I just refuse to downgrade to the latest NS/Mozilla/IE. Every browser is just bigger, slower, and more buggy than the last. What I really want is NS 4.73 -- you know, the bug-release version of NS 4.72 that would never crash, and would fix bugs like incorrect rendering of stylesheets.

    I think we're looking at a really long delay -- maybe 10 years -- before anyone can really start writing MathML into their pages with any confidence that the typical user will have a browser that displays it correctly. Look at Java 1.1. It's been years since 1.1 came out, and I still have to have a warning at the top of my 1.1 applet's page [lightandmatter.com] explaining that it won't work with the NS+MacOS combination.


    The Assayer [theassayer.org] - free-information book reviews

  • Frontends are nice. Most people now use a frontend for hacking HTML. I know some people would scream that you only need emacs to make a web page, but WYSIWYG is nice for 95%+ of the world.

    I personally love using LyX for creating TeX documents. I like being able to see my equations as I work. It also gives you the ability to type in equations similar to normal TeX OR use the mouse to click on math symbols. Plus you can see your postscrip figures in the document.

    Ideally, you could embed a MathML equation that would be rendered in the browser, but also provide and alternate image in the document that can be loaded if the browser does not support MathML (like in latex2html)
  • "Well, a browser plug-ins are no different than a software or hardware update."

    When you're making a web site, you can't expect people to 1) visit the site that hosts the plug-in, 2) fill in a registration form, 3) download your software, 4) exit Netscape, 5) run "setup.exe" 6) restart Netscape, 7) Find your website again. They'll just go to some other website instead.

    Furthermore, lots of KDE users just use kfm as their web browser, and lots of GNOME users use Galeon. Plug-in makers don't make plug-ins for anything but Netscape and IE. Sometimes you can't get a UNIX plug-in at all.

    My grandmother gets free cable internet from their city government that runs through the TV cable and is accessed from an appliance that sits on top of the TV and also functions as the cable TV decoder. This device doesn't support plug-ins at all. So your argument breaks down completely in this instance.

    Now in our case, we can probably install MathML plug-ins on our machines and administer the test, since we control the machines on the client-side. But most plug-ins are generally worthless, and forcing your website readers to use them is textbook example of a Really Bad Idea.


    ========
    Stephen C. VanDahm
  • It seems to me that your background is in 'math' so I will use VisCal as an example.

    When VisCal 1.0 came out -- there was only selected hardware that it would run on. And than when ver 2.0, and onward came out, those versions required new OS and new hardware configuration. The majority of the users, went out and upgraded there conf. to be able to run VisCal. The rest took more time but eventually cached on.

    Now coming back to the browsers plug-in, if you are still using a browser that doesn't support the latest tech, than yes you are out of luck -- and my answer is: too bad -- because the rest of the world wants to move on but you don't seem to want to.

    I still remember the days when people demanded that the latest version of their favorite application written for Win 3.1 to also run on MS-DOS 3.0 with the SAME features and capability on the old MS-DOS 3.0 hardware with no hard-disk. A lot of companies got burned out when they got such demands from the marketing folks and couldn't deliver.

    So, if your grandmother wants to be able to do plug-in via her appliance, than she needs a hardware that supports it. Yes, such hardware doesn't exists today, but that doesn't mean MathML is dead on arrival and eventually once those hardware are available, she will move on to that hardware.

    As for "...is textbook example of a Really Bad Idea" -- I don't get it. Requiring users to use the plug-in is no different as requiring users to have an HTML browser to access the sit in the first place.

  • Yeah, here are some reasons why.

    Knuth spent 10 years on TeX.
    It was one man, not a commitee,
    and he designed it with
    much more than math equations in mind.

    It is able to be hand written;
    MathML is too bulky to be done by hand.

    And as for vector graphics,
    TeX is actually based on Metafont
    which supports all kinds of graphics operations
    tho' without colour...(yet)

    Unfortunately, a TeX pluggin hasn't materialized...?
    and probably won't: TeX is a HUGE system.

    Also, TeX doesn't support semantic content,
    but serious mathematicians have little use for that anyway.

    Oh, Knuth, where are you now?
    Save us from this pitiful XML nonsense!
  • Frontends are nice. Most people now use a frontend for hacking HTML. I know some people would scream that you only need emacs to make a web page, but WYSIWYG is nice for 95%+ of the world.

    i use vi for everything from html to dissertation. my advisor thinks i'm on crack. i just havent found anything that beats vim and a good .vimrc file. once you get used to it-its not really that hard to use. i tried to use a wysiwyg html editor once. it's pretty useless if you do any dynamic webpages with perl/php/etc.

    use LaTeX? want an online reference manager that
  • by cluge ( 114877 ) on Tuesday January 09, 2001 @06:14AM (#520962) Homepage
    Now I can write things like ax^2+bx+c=y and then explain the quadratic equation to people without needing a white board. This also comes in handy when dealing with teaching people to balance chemical equations and such.

    Finally, a way to teach terrorists about fission with web pages that make everything look correct! This is truly a great thing, praise the green bug god for this. Now to have my minions can study mathematics and chemistry as i force them to slave away scraping watch hands so that I can collect enough fissionable material!

  • ..until Microsoft releases an "Active Math" extention for this?
  • While I'm certain that this is a major boon for scientists, mathemeticians, and even doctors, I would much rather have seen a W3C Reccomendation for a non proprietary vector graphic format.
  • Should be shot... isn't there some sort of w3 recommendation against using fonts like that???
  • ...but please, PLEASE promise us that it'll run perfectly on the first version! I hate nothing more than a standard with bugs, loopholes, and vulnerabilities.

  • Every time a solution to my HTML problems comes out, it takes years to get supported, it's inconsistent (style sheets), and by the time it's actually reliable, it's darn near irrelevant. I, at least, need a faster method of implementing solutions. Waiting on the browser gang is like waiting on Death.

    1Alpha7

  • by Anonymous Coward
    nah, they should just use tex
  • If you read the article, you can see that MathML 2.0 designing goals include

    "Facilitate conversion to and from other mathematical formats, both presentational and semantic.
    Output formats should include:

    • graphical displays
    • speech synthesizers
    • input for computer algebra systems
    • other mathematics typesetting languages, such as TEX
    • plain text displays, e.g. VT100 emulators
    • print media, including braille

    And I'll be able to throw away my PIII-G400-17" computer to look at these maths on my favorite VT320 (amber on black or green on black) !!!

  • Now I can write

    Sigma n=0 -> Infinity ((x^n))/(n!) = e^x

    without seeming utterly mad! Muahahaha!

  • How does this kind of thing get moderated up? Just because the particular problem that you are most concerned about hasn't been solved yet doesn't mean that it won't ever be. The fact that the world continues to have problems does not mean that this isn't a valid and useful solution of something that has been a problem in the past. Frankly, if you're not interested in the topic being discussed go somewhere else. There are about 20 different topics being discussed on this board alone on any given day so there's no real need to come here and belittle the achievements of others even if you aren't particularly interested in them.

    I'm sorry if I'm coming across as really harsh, but I think that it's something that needed to be said. I'm looking forward to playing around with this technology. It looks really interesting and quite a bit more flexable than using screen shots of MathCAD.
    _____________


  • ... and people wonder why there are no decent browsers. How can browsers be compliant with the W3C standards if said standards change every other week? If the W3C would just quit twiddling around with stuff, perhaps we could get a few browsers written, debugged, and working properly before the spec changed yet again.


    --LordEq

    Tho' your promise count for nothing

  • `Thorn in the side' ? It hasn't been worrying them that much. They've just used TeX :-). Bear in mind that 'twas Mathematicians and Scientists who invented the damned thing -- if they really gave a flying fuck, it would have been there 6+ years ago.
  • write it in LaTeX (a solution thats been around for a while), and couple that with tex2html which has pretty nice output. check out the lecture notes from out thermo class:

    http://puccini.che.pitt.edu/~karlj/Classes/CHE2101 /l04/l04.pdf [pitt.edu]

    use LaTeX? want an online reference manager that
  • Take a look at W3C's WebCGM [w3.org]and SVG recomendations. [w3.org]
  • Certainly, (La)TeX is better, easier, more widely known among mathematicians and scientists ... now. But when you can be sure that every desktop with a browser on it can render MathML, but less than 1% of them will have TeX, which will be taught? Which will be supported and used. Some of us will continue to use TeX until the alternatives are clearly superior. Unfortunately, many people will sacrifice some of the things that TeX does so well that aren't obvious for ubiquity. I can count on TeX to fill my paragraphs beautifully. Browsers don't always get it right.
  • Well, they tried that once, and M$ and Netscape took over the lead making a bunch of crap. I think it is probably a good idea that W3C is moving fast.
  • I believe it's at that point in the article that they reference Cajori, the author of an amazing book on the history of mathematical notation. I don't have it handy, but there are all kinds of notations that we take for granted today, that were formerly written in several different ways by different authors. It's an interesting book to pick up and read a few pages at various points in the book, although it's not meant to be read cover to cover. The book is filled with things like "person A used this notation in paper B in 1734" and gives an example, "while Person C used this other notation in his 1736 paper D." (another example)

    Brett

  • on that note:
    how are the articles about nanotechnology relevant to most of us? or what about D-VHS? synthesizers made from old commodore 64 parts?

    this is news for nerds...
    i think all of the above catagories including the incorporation of mathml specs into the html standard apply to nerds of one type or another.

    use LaTeX? want an online reference manager that
  • If you actually look at the code to express something simple such as (a+b)^2 in MathML it looks quite unwieldy compared to how simple it would look in TeX. At first, this seems like a huge turn-off for those of us who are used to typing in TeX or HTML by hand. But we need to remember what MathML is trying to be: the low-level format to exchange mathematical ideas.

    The standard proposes to do lots, including:

    Facilitate conversion to and from other mathematical formats, both presentational and semantic. Output formats should include

    • graphical displays
    • speech synthesizers
    • input for computer algebra systems other mathematics typesetting languages, such as TEX
    • plain text displays, e.g. VT100 emulators
    • print media, including braille

    Anything which will allow input and output into Mathematica and TeX both (let alone the others) is going to not be something that you can not type directly by hand, so for this standard it would be unfair to expect that. Instead, it is important to make sure that the standard includes the important mathematical notions that will port from TeX and computer algebra systems. (to me, that means all of TeX and LaTeX except the page-layout specific features, and most of Mathematica, Maple, and Matlab...)

    It may be that the standard is trying to do too much or that it would only be useful to the mathematical elite, but given the ambitious role it is clear that the standard will need to be complicated and presumably not suitable for unaided digestion or production.

    See the standards page here [w3.org], for the 12 line code for the expression for (a+b)^2.

  • It's kind of funny. The reason I started useing LaTeX is because word once crapped out on my and I lost a crapload of stuff. I wanted something that even if it crashed I could still recover the raw information. I turned to LaTeX because all i need is a text editor and a dvi viewer. Anything with equations/pictures/etc in word would crash after 5 pages, you just don't have that problem with LaTeX. Now they have made a markup language so complicated i have to use a frontend to generate my documents. It seems like cutting off your nose to spite your face.

    use LaTeX? want an online reference manager that
  • by AMK ( 3114 )
    TeX is a Turing-complete language; this makes it difficult to do automated things to tex documents, because an innocent \foo could contain anything -- paragraph breaks, page after page of automatically generated text. This is why tools such as LaTeX2HTML still occasionally fail on documents that do fancier things than the conversion program is prepared to handle. MathML is verbose, but it's also purely declarative (at least for now), and therefore easier to process. You could create a TeX subset for math equations only -- no \def allowed -- but then it's not TeX any more.
  • really thought:
    e(i*pi)-1 = 0

    is a beautiful equation. in incorporates all of the important numbers e, pi, i, 0 and 1. i've often thought that if i ever got a tatoo that would be it. yes i know i'm a nerd.

    use LaTeX? want an online reference manager that
  • There is a TeX plugin from IBM, it's called TexExplorer or something like that. By the way, I don't see how you can do a search in a bunch of text files for a particular kind of formula (``search for all the formulas containing 'something' to the power three inside an integral'') ... I hope this MathML stuff will make that kind of things possible.
  • One of the tags that was eager to see in HTML4.0 is the socalled OBJECT tag. The tag is supposed to work as such (OTTOMH, so errors are mine):

    OBJECT SOURCE="mypic.mpg" TYPE="video/mpeg"> OBJECT SOURCE="mypic.png" TYPE="image/png"> <OBJECT SOURCE="mypic.gif" TYPE="image/gif"> A picture of myself. </OBJECT> </OBJECT> </OBJECT>

    Notice how if the browser has no idea on OBJECT, it just reports the text. If it does know how to handle OBJECT, it looks at the type in the first tag, sees if it can handle it, and if not, continues down the embedded OBJECT list until it does find a type it can handle, or otherwise the 'alternate' text. This was to replace IMG since the alternate text can now be appropriately marked up with HTML.

    So for a MathXL situation, I'd have the mathxl in the outer loop, a gif of the equation in the inner one, and possibly something like troff equation output as the alternate text. Those that have browsers that render MathXL would see it with no problem, those without it would see the equation still, and those in text mode would see the troff eq. Of course, this would require a bit more work on the part of the page designer, but certainly I'm sure tools would be made available to convert mathXL to gifs easily.

    The problem is, guess how many of {IE|NS} for {PC|MAC|Unix} have adequete support for OBJECT?

  • Sickening. We won't have any real improvements in browsers for a couple years yet at their snail's pace.

    Waitaminute! SVG is a Candidate Recommendation, which means, they are actually waiting for implementations to be non-sucky. So you just write code instead of rant here!

  • Again we run into this problem... trying to make HTML documents *look* the way we want.... people try and get around this sort of problem by doing silly things like putting invisible images in web pages to get things to line up right...It seems MathML is some kind of bastard stepchild between the original beginnings of HTML and the LaTeX philosophy.... I guess XML was supposed to solve all of that, but I think that needing special programs to generate a document because the tags are so complex is a little much... I know it's been said before, but maybe some LaTeXish thing would be better... relatively simple to code, yet robust enough to remain flexible... I mean $\frac{x^{2}}{y_{3}}$ just seems alot nicer than the junk you'd have to write to get the same result in the current specs for MathML. But then again, I guess it won't matter if I write latex2mathml.pl anyway. :)
  • "Needless to say, I'm not very comfortable with depending on browser plug-ins for anything."

    Well, a browser plug-ins are no different than a software or hardware update.

    If you disagree, than you should still be using a 1980s hardware and software.

    Yes, it is a pain. But there is no gain with out a pain. Go figure. :-)

  • And when they do, it will run slow and be full of security vulnerabilities and allow scr1pt k1d33s to haXor your site.
  • by Stephen VanDahm ( 88206 ) on Tuesday January 09, 2001 @06:27AM (#520990) Homepage
    Something like this would be schweet if it became widely accepted. HTML is OK for most things, but mathematical notation and things molecular diagrams in Chemistry have to be represented with image files which can, of course, be a real pain in the ass.

    Our little college is looking into MathML as a possible way to give online placement tests to incoming first-year students, and I found that it required special browser plug-ins to work. So I'm guessing that a browsers like Opera, kfm, and my grandmother's TV internet appliance are just out of luck. Needless to say, I'm not very comfortable with depending on browser plug-ins for anything.

    How soon is it going to be before browsers support this stuff out-of-the-box, without me having to download and install a stupid plug-in?


    ========
    Stephen C. VanDahm
  • From the spec [w3.org]:

    MathML markup is not primarily intended for direct use by authors. While MathML is human-readable, which helps a lot in debugging it, in all but the simplest cases it is too verbose and error-prone for hand generation. Instead, it is anticipated that authors will use equation editors, conversion programs, and other specialized software tools to generate MathML.

    --

  • The font looks to be defined as "sans-serif", so the problem is yours, bub.
  • Yes I'm laughing ... but I do that and I like it.

    I've used and still use some VT 320 to surf the web (lynx), trace graphics (with gnuplot on a DECwriter) and, of course, play tetris !

    And i'm very happy because i've recently got a VT510 that I've been able to link to my Linux box ... wonderful !

    --
  • Of course, as per the linked document [w3.org], MathML isn't supposed to replace TeX any more than PostScript is - it's meant to be machine-generated from easier-to-input forms such as TeX.
  • sorry. in html.

    http://puccini.che.pitt.edu/~karlj/Classes/CHE2101 /l04/ [pitt.edu]

    use LaTeX? want an online reference manager that
  • by moz25 ( 262020 )
    Well, I'd still prefer how TeX does it... much more compact. I am somewhat uncomfortable with using a huge number of tags for complex (extensive) formulas.

    Moz.
  • Anyone else find it strange that Microsoft is on the working group, and Netscape is not? Where was Netscape on this one?
  • Umm.. you do realize that this is 2.0, right? :)
  • With the dominant browser being IE and MS' consumer focus I really don't see this standard ever being implemented for a meaningful percentage of people. And then MS will implement it just wrong enough to make it worthless.

    I hate to say it, but if you're really doing this stuff you probably already know (La)TeX, so you can just write it up in that and generate a graphic, or distribute the (La)TeX. Using graphics to represent this stuff on the web isn't optimal, but at least you know it will work and display right. (Sorry to you freaks who browse text only ;)

    Chris
  • by Alan Shutko ( 5101 ) on Tuesday January 09, 2001 @06:38AM (#521000) Homepage
    The reason there's a W3C recommendation for MathML, and not a non-proprietary vector graphics format, is because this has been a thorn in the sides of many mathematicians and scientists for years, and they've been working hard at fixing it.

    I am not aware of the history on any of the vector attempts, but I do not believe that there have been as many people working on it for as long. After all, many people have their vector needs served adequately by any of the many proprietary plugins, since all they need is for people to be able to view the output; but those needing math to communicate have a much longer history of open information sharing, and need a common language.

The price one pays for pursuing any profession, or calling, is an intimate knowledge of its ugly side. -- James Baldwin

Working...