2009-05-29, 10:14 PM
Due to the academic use of the forum I'm building, it would be very useful I the users could include mathematical formulas inside the messages.
Is there any mod or plugin to do that?
If not, in the same computer where I host the forum, I have already installed a wiki that (like Wikipedia) use the program texvc to generate png images from formulas written in TeX language.
The syntax inside the wiki is something like
<math>\frac{1}{3}+\frac{1}{6}=\frac{1}{2}</math>
that produces the result
This software, texvc, admits command-line orders like
texvc /home/wiki/tmp /home/wiki/math "\frac{1}{3}+\frac{1}{6}=\frac{1}{2}" iso-8859-1
so, my idea would be to allow for MyBB to admit inline equations and convert the equations into png images, in the same way that the wiki hosted in the same computer is doing.
Do you think that can be done in a more or less easy way? I assume that it would work using an adequate MyCode.
I have a reasonable knowledge of php, so if you can point to me to the way to create the plugin (if it doesn't exist yet, of course), I would be very grateful.
Is there any mod or plugin to do that?
If not, in the same computer where I host the forum, I have already installed a wiki that (like Wikipedia) use the program texvc to generate png images from formulas written in TeX language.
The syntax inside the wiki is something like
<math>\frac{1}{3}+\frac{1}{6}=\frac{1}{2}</math>
that produces the result
This software, texvc, admits command-line orders like
texvc /home/wiki/tmp /home/wiki/math "\frac{1}{3}+\frac{1}{6}=\frac{1}{2}" iso-8859-1
so, my idea would be to allow for MyBB to admit inline equations and convert the equations into png images, in the same way that the wiki hosted in the same computer is doing.
Do you think that can be done in a more or less easy way? I assume that it would work using an adequate MyCode.
I have a reasonable knowledge of php, so if you can point to me to the way to create the plugin (if it doesn't exist yet, of course), I would be very grateful.