Jump to content

Topic on Extension talk:MathLaTeX

The source equation gets lost, but your code was very helpful for me.

1
Judiospi (talkcontribs)

Jesse,

I like the way you handle the rendering of LaTex equations, however after the rendering, the original source code for the equation gets lost. If I want to review an equation I would have to rewrite it entirely.

However, based in your code I was able to extend the MathTexvc Class of the Math package. By using the basic functionality of the MathTexvc Class, one does not have to deal with the database.

Also, I use Texlive portable. There is no need for Cwing.

Thanks for your help!

PD: If you are interested in the Modifications, these are at https://github.com/judios/mediawiki-extensions-Math/commit/2c179c3dd832ff8b4af8443e1025853d445ed39c

And these are the lines added to the LocalSettings.php file wfLoadExtension( 'Math' ); $wgUseTeX= true; $wgPdfLaTexCommand = "D:\\texlive\bin\win32\pdflatex.exe"; $wgDvipngCommand = "D:\\texlive\bin\win32\dvipng.exe"; $wgMathDisableTexFilter = true;

Reply to "The source equation gets lost, but your code was very helpful for me."