===== JSMath Integration ===== >>**See also:** ~-[[ThirdPartyIntegration | Experimental 3rd party software integration in wikka]] ~-[[Docs:ThirdPartyInfo | 3rdparty software officially bundled with wikka]] **External links:** ~-[[http://wiki.infopa.net/ | INFOPedia]] - a Wikka-powered wiki with JSMath support. >>::c:: JSMath is an easy-to-use script that allows one to display complex mathematics in web pages using JavaScript. The way the script is structured should make it simple to integrate into Wikka. Integration into Wikka would allow users to display complex mathematics using LaTeX markup, making Wikka useful for mathematical resources. JSMath has a homepage [[http://www.math.union.edu/~dpvc/jsMath/welcome.html | here]]. A more thorough explanation of the way in which JSMath works is [[http://www.math.union.edu/~dpvc/jsMath/authors/welcome.html | here]]. ---- Here's a quick hack to integrate JSMath in Wikka ====The code==== ''Version 0.1'' ==1. Download and save the package == Get the [[http://www.math.union.edu/~dpvc/jsMath/download/jsMath.html | package]], unzip it and upload the files in the following folder in your Wikka directory: ##3rdparty/plugins/jsmath/## ==2. Modify ##wikka.config.php##== Add the JSMath options to the configuration file: **original** %%(php;20) "geshi_path" => "3rdparty/plugins/geshi", "geshi_languages_path" => "3rdparty/plugins/geshi/geshi", %% **modified** %%(php;20) "geshi_path" => "3rdparty/plugins/geshi", "geshi_languages_path" => "3rdparty/plugins/geshi/geshi", "enable_jsmath" => "1", "jsmath_path" => "3rdparty/plugins/jsmath", %% ==3. Modify ##actions/header.php##== Insert the JSMath call in ##actions/header.php##: **original** %%(php;19)
>