Watexy version 14 – with both inline and display math mode

icon3 , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Posted November 14, 2009 at 23:15 (UTC)

Now version 14 of watexy@appspot.com is released.

$ $x$ $ makes an inline equation (with the $-signs immediately following each other and not with a space as here).

 4 + 5

makes an equation in "display math mode", i.e. centred on its own line. Edit by clicking at the equation (the image).

There are still a few misbehaviours/new feature suggestions:

  • Inline equations still doesn't support < and >
  • It's still not possible to edit the inline equations
  • Have an align environment so that several equations can be shown underneath each other
  • The height of the equation in display math mode doesn't always adjust automatically, so it may be necessary to either click it to edit and the press cancel or view another wave and go back to the original one
  • The history of how an equations is changed (editing by clicking on it) is not recorded, so for know it's not possible to track changes to a single equations. Yet.

I'm of course still working to fix these things, but it might not be solved until January because I'm going to travel the rest of the year.

Thanks a lot for your support and all the feedback. Please continue to comment on how the robot is made, bugs, and suggestions! I'm also on Twitter at http://twitter.com/mikldk.

A last request: If you can afford, please donate money to support my work and expenses. You'll find the donate-button in the upper right corner of this page.

35 Responses

  1. Craig Ogilvie Says:

    I'm just getting started in wave, so I'm not sure how to add your gadget to my wave toolbars so I can try to use it.

    Thanks

    Craig

  2. Mikkel Meyer Andersen Says:

    Just add watexy@appspot.com as a recepient to the wave :) .

  3. Fred Robinson Says:

    This Robot is genius! It makes Wave so very useful for math. Thank you for writing it!

  4. Javier Campos Says:

    great robot Mikkel!!!

    one question: in order to work with other people, you need to add the robot as the first one in the new wave and then to add other people, isn't it?

    (I mean, I tried to add the robot to an already existing wave and it didn't work)

  5. Mikkel Meyer Andersen Says:

    Thanks! Yes, that is correct. I'll try to think of something clever to do about that.

  6. Michael Bachtold Says:

    Thanks for writing this robot. I have some questions:

    Do you know if it would be possible to convert LaTex appearing in waves into MathMl instead of images, maybe using a translator like itex2MML (http://golem.ph.utexas.edu/~distler/blog/itex2MML.html). Is that compatible with wave?

    And could it somehow be achieved that one may export the wave (or parts of it) in LaTeX format for further use.

    I would love to see these two features. I have basically zero experience writing code myself, but after seeing how short your program is (was), I'm almost tempted to try and write one myself.

  7. Mikkel Meyer Andersen Says:

    Thanks for your comment. It probably would be possible, and even make a lot of sense. I have done a little research, and it shouldn't be too difficult to do. I'm travelling right now, so I'm not sure if such a version of the robot would be made before some time around Christmas.

  8. Pablo Arias Says:

    I wrote this comment yesterday, but I noticed today that this was the last version of watexy, so I repeat it here:

    Congratulations, great robot!!

    I just have a suggestion. Has anyone thought about having different waves for the source (.tex wave) and the compiled version of it (.dvi wave)?

    The latter could be read-only.

    Watexy as it is now is a great tool for discussion. However, if at a certain point you decide you want to write a proper latex document, you cannot do it in collaboration.

    Furthermore, now you can’t reuse the wave to write a tex. At least not easily. Having access to the source would allow its reuse.

    I just throw the idea. Don’t have any clue on its viability.

    Tanks for watexy!
    Pablo

  9. Ricki Says:

    The bot is not working anymore and all the inline equations are gone from all my waves. :(

  10. ioannis parissis Says:

    As of yesterday, all my watexy inline equations just disappeared. It also seems you can't create an inline equation at the moment; everything disappears after you hit done. Any ideas on what's going on? Any way to fix this?

    thanx

    yannis

  11. Mikkel Meyer Andersen Says:

    I'm not sure what happened. I've checked the image web service and that works, so I'm suspecting Wave to be the problem. I'll try to look closer into it. Thanks for reporting.

  12. Michael Says:

    Just an idea. I once wrote this program, but I seem to have lost it.

    Usually, you can write things at the end of an image file, and the image still displays correctly.
    So, you could do something like
    echo "latex code: \sum x^2" >> image.png
    image.png will still display correctly in a browser.

    If you write a trivial script that looks for the "latex code:" signature, it can then convert the image back to the source.

    If these two work, then one could "simply" add a button to a blimp that says something like "convert back to latex", and the original text will be displayed.

  13. Mikkel Meyer Andersen Says:

    With me it still works as usual. Can you please provide some details, Ricki and ioannis?

  14. Domenico Says:

    Hi, thanks for the robot.
    I have to report that I'm experiencing the same problem. All of my equations are gone. The ones with  just disappear and the ones with ! show a missing picture icon.
    The same happens with equations typed with LaTeXy.

  15. Michael Says:

    I also have the same problem. Inline eqs become a very tiny empty image. Just enough to notice when you move the cursor by it.

    Display math images come out too short - i.e. I see just the top of the 1/3 equation or so, but if I click on it to edit, it all corrects itself.

  16. Mikkel Meyer Andersen Says:

    I'm sorry for the trouble, but I haven't changed anything, so I'm tempted to blaim Google. I'll give it a few days to see if other bots also have problems. Thanks for the bug reporting. I'll keep an eye out and look into the matter so that Watexy can be fixed ASAP.

  17. Michael Says:

    I made a public wave that shows the problem. I don't know if it'll help debugging...

    look for
    with:public "problems with watexy"

  18. Ricki Says:

    Well, the watexy@appspot.com bot, back to the days when it was working well, was having a wave picture. When the bot stopped working, the picture (the wave logo) dissapeared.

    I'm just thinking this may be a clue.

    [The website information is also gone from the bot's contact-card]

    Also, from Google's bot directory at http://wave-samples-gallery.appspot.com/about_app?app_id=20018 : "Live demos require Wave Sandbox access to view"

    I'm on public preview, no sandbox.

  19. Mikkel Meyer Andersen Says:

    Thanks a lor for the info, guys. Unfortunately I'm in a GPRS-area these days, so it would take forever to have a look at it. I'll hopefully get to a 3G-area within the next days so that I can give it a better look. Sorry for the waiting time.

  20. ioannis parissis Says:

    I don't have much to add. The inline equation disappears when u hit dont. IT gets replaced by a blank space more or less, like Michael very nicely explained. Math mode equation (using

    ) seems to work as before. It's also kind of upsetting that existing equations disappeared. I know for sure, it happened to more than 5 active waves i had in development.

  21. Mikkel Meyer Andersen Says:

    I'll take a look at it Wed, Thur, or Fri. Thanks - and once again sorry for this mess.

  22. ioannis parissis Says:

    Everything works now. I don't know if you did it or if it was GW, but I'm kind of relieved. I thought it was a GW problem in the first place, but you don't really know where to ask for support since we are talking about a third party application. So I guess we all told you even if you couldn't do anything about it. This brings up another issue. Where and how do we back up our waves? Do we just trust Google?

  23. Daniel Lupton Says:

    I was having the same problems with watexy as the others - images not appearing, that kind of thing. Today (anyway, right now) it seems to work! If you did something to fix it, it worked.

  24. Mikkel Meyer Andersen Says:

    I haven't done anything to get it working. Just as I didn't do anything to get it stop working. As I said earlier, I suspected Google which - as you guys have just seen - was actually also the case.

    I'm of course sorry that it wasn't working for that long time, but I think that we should all remember that Wave is still only a preview.

    That being said: thanks a lot for the bug reporting and very helpful comments. I really appreciate that! And I'm sorry I wasn't able to really do anything because I'm travelling. (But I don't think that I could have done much in this specific case.) I hope you'll continue doing that.

    I'll hopefully be able to release a new version of Watexy in the beginning of 2010 with more features. Keep on posting ideas :) .

    Again: thanks guys!

  25. Michael Bachtold Says:

    Hi,
    Just a suggestion: there are currently at least 4 bots or apps (watexy, latexy, eqy-bot and oxyxy) with the aim of allowing latex inside waves, all maintained by different people. Instead of each writing his own program, why you guys don't collaborate and make one open source project out of this?

  26. Mikkel Meyer Andersen Says:

    Good suggestion, Michael. I'll try to send an e-mail to the other authors some time in the next week or two.

  27. cheshirekow Says:

    Hi, thanks for this great tool. I love it. I've noticed a small problem (that may have nothing to do with the robot) but when I create an equation that has some decent size to it, it get's hidden because the box does not expand enough to show all of it. Any suggestions on what may be going on and how I may work around it? I can add you as a participant on a wave with an example if you like.

  28. Mikkel Meyer Andersen Says:

    cheshirekow, thanks. I'm aware of the problem. I've tried a lot but still haven't been able to come up with a decent solution. I'm still working on it.

  29. Michael Says:

    Hi Mikkel.
    Once again, great robot !

    I face a problem though. Sometimes, when I try to edit an equation, it doesn't work: instead of the equation, the following error message appears (written in reed):
    (4) Can't mkdir cgi-bin/tempnam/work directory: check permissions. See mathex.html#message4

  30. Ioannis Parissis Says:

    Hello again Mikkel.

    Lately I have the following problem with watexy. Equations do not compile. Sometimes this only happens to longer equations, but right now I can't even seem to compile a single character in watexy. Sever too busy?

  31. Mikkel Meyer Andersen Says:

    Sorry for troubles. The server shouldn't be too busy, but I cleared the cache which should hopefully help. I'm also trying to improve the robot, but Wave still doesn't make it possible to attach the image to the Wave so that the server isn't required every time. But I'm working on optimizations. Thanks for posting the bugs!

  32. VLK Says:

    Hello,

    The inline equation feature seems to have stopped working. If I do something like {math} and hit "Done", the equation simply disappears. The editable equations, with the

    are OK (though to make those visible one has to click on the tiny horizontal bar).

    Using Chrome 5.0.375 on MacOS X.5.8.

  33. Mikkel Meyer Andersen Says:

    Thanks for the info. It seems like Google has changed something, maybe in the regex-framework. I'm looking into it.

  34. torzsmokus Says:

    still having the issues VLK mentioned (using chromium-daily).

  35. torzsmokus Says:

    FYI: Google's Chart API has an undocumented (AFAIK) feature to generate png from LaTeX:
    http://chart.apis.google.com/chart?cht=tx&chl=%5CLaTeX

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.