Man you sure
have been busy lately !!
I won’t personnally need this, but many people will be interrested in having LaTeX implemented, it will open new doors to MODx, thanks for this !
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
I want to use mimetex on my modx site. Unfortunately the snippet above doesnt’ work alright.
1) I think I installed the mimetex-cgi properly, I can get this the interpreted gifs if I call it directly in the browser.
2) In modx included (Just tried the sample above), I only get the source code, as it’s not interpreted.
However, I get some errors in the modx-manager. Every time I request a webpage, I get the following error 2 times:
syntax error, unexpected T_FUNCTION
Parse error: syntax error, unexpected T_FUNCTION in /srv/www/htdocs/web204/html/moxbeta/manager/includes/document.parser.class.inc.php(724) : eval()’d code on line 19
Have you modified the configuration string $mimetexPath? Is the modification correct?
It looks like PHP doesn’t expect a function definition in line 19... which however should work fine (an it does in my installation).
First of all: you say "double dollars", but you write a single dollar in your post... second: to work on my MODx, I have to write \\\sum instead of \\sum as you say... is there anything to do with MODx 0.95 or is it a mistake?
Daniele "MadMage" Calisi