# LaTeX Web-Based LaTeX, Maxima, and R Software

#### pmagunia

I am designing web software to interface to $\LaTeX$, Maxima and R.

What I wanted to get feedback about is:

1) Security issues which may arise from calling Maxima and R from the web. The interface is going to be a AJAX GUI and not a raw command-line input form so I will be able to filter malicious code. For the Maxima interface, I am disabling characters like the semi-colon and dollar-sign that may jeopardize the system and also heavily filter incoming data. It is a GUI so I can prevent unwanted commands from being executed.

2) The viability of keeping this a free site without any ads. I wanted to be able to cover the hosting cost involved with voluntary donations. I know Sage Notebook already exists but it doesn't have a GUI which I was planning to design. With the R version of the site users should be able to upload datasets to operate on. I am going to accomplish this with FileField in Drupal. I don't know many site that offer this kind of service so it is something unique I can provide.

The site already has some operational features:

1)Creating LaTeX images using a Javascript toolbar.

2)Allow users to Chat in a LaTeX based environment with capabilities to exchange graphs and sketches.

I wanted to post the url so that people could take a look and give feedback and comments, but wanted to get the OK since this may seem to violate advertising guidelines posted in the rules. The site is registered as a '.com', but I also own the '.net' version of the domain which points to the same place.

Any kind of feedback and direction is very much appreciated.

P. Magunia

Related MATLAB, Maple, Mathematica, LaTeX News on Phys.org

#### Borek

Mentor
After some backroom discussion Mentors tasked me with posting links to the site:

http://sharpermath.com/content/latex-image-generator" [Broken]

http://sharpermath.com/chat" [Broken]

Last edited by a moderator:

#### pmagunia

Thank you for posting the links Borek.

I wanted to mention something else notable. I've made progress with the web-based Maxima interface I mentioned in my earlier post.

Maxima is computer algebra system capable of computing floating points to arbitrary position and much more.

The interface I have designed allows computation of limits, derivatives, integrals and more. The default example I have is the the limit to compute $$e^x$$. The Maxima output is Tex friendly and mimetex automatically renders the image to GIF.

If you wanted to compute $$2^{1000}$$ that is possible. Computations are not limited to Calculus.

Allowing public use of Maxima on a web server is a security concern, I know. Special characters and the semi-colon are not allowed. Users are also limited to 3 seconds of CPU time which I found to be plenty for even $$2^{100,000}$$ though I am not sure web addresses of that length are allowed by my web server. Insecure commands are also filtered out.

If nobody objects I would like to post the link here.

Last edited:

#### pmagunia

I am guessing nobody is objecting.

http://sharpermath.com/content/maxima-interface" [Broken]

Also for calculations of limits the following page would be very useful. You can specifiy $$f(x)$$, $$c$$, the variable of interest, and the direction of the limit. Maxima constants used are 'inf' and 'minf'. The output is pure Tex.

http://sharpermath.com/content/maxima-limit-evaluate" [Broken]

These services are comparable to Wolfram's Integrator. I hope the community finds them useful.

Last edited by a moderator: