Using MathTran in blogs and wikis Wednesday, Feb 27 2008 

This post is mainly for system administrators and developers who want to add mathematics capabilities to a blog or wiki that they host or develop. We hope that in a year or so some of the ideas we describe here will be available to ordinary users who have a blog, say on WordPress.

After an Introduction, we discuss Light-, Medium- and Heavy- weight installation of MathTran. Then we discuss how to print mathematics using MathTran. Finally, we revisit the examples in the introduction, and state conclusions.


Django and the MathTran website – AJAX and templates Saturday, Feb 2 2008 


In my previous post I spoke about ReST. It’s not able to do what I want, which is a nuisance. But most of the post of about coding forms such as that on the MathTran home page using Django templates. In the course of the post I come to the conclusion that providing such forms is a matter just for the template, and has nothing much to do with the view! Finally, I make some remarks about AJAX, which is used (along with some rather improper dynamic HTML) in the present implementation.


Django and the MathTran website – ReST Saturday, Jan 26 2008 

This weekend I’m doing some work on the MathTran website. The main goal is to move it to Django, and to clean up and improve the content while I’m at it. I’m not much of a web-wizard. I know about HTML and JavaScript of course, and to get dynamic baseline alignment of bitmap mathematics I even did a bit of Ajax programming. But I’ve not developed on a website that has a database backend yet, although that is one of my ambitions for the MathTran site.


Google Charts, MathTran and editable PNG files Monday, Jan 14 2008 

This post is about putting charts and formulas in your web pages, creating editable and scalable PNG files, and the need for a standard for embedded application data in image files.

Earlier today I looked at Google Charts, which allows you to ‘dynamically generate charts’. Send a Google a suitable GET request and you will get a pie chart, a bar chart or whatever, as specified in your query string. Their example is|World

which will produce the chart
Hello world pie chart

This is rather similar to MathTran, where are URL such as;tex=1%20%2B%201%2F2%20%2B%201%2F4%20%2B%20%5Cldots%20%2B%201%2F2%5En

produces the image
1 + 1/2 + 1/4 + \ldots + 1/2^n

Google Charts allows you to dynamically create graphs, and MathTran allows you to dynamically create rendered mathematical formulas. The Google API is rather better than MathTran’s, and it is certainly better documents. But MathTran has something that Google Charts doesn’t have … yet. The PNG’s returned by MathTran can be edited.