| 8 | |
| 9 | == Download and Source == |
| 10 | |
| 11 | Download the 0.1 release in [https://bitbucket.org/kisielk/tracmathjaxplugin/get/0.1.zip zip], [https://bitbucket.org/kisielk/tracmathjaxplugin/get/0.1.tar.gz gz], or [https://bitbucket.org/kisielk/tracmathjaxplugin/get/0.1.tar.bz2 bz2] format. |
| 12 | |
| 13 | For the latest changes, check out the source [https://bitbucket.org/kisielk/tracmathplugin using Hg], or [https://bitbucket.org/kisielk/tracmathplugin/src browse it on Bitbucket]. |
| 14 | |
| 15 | == Installation == |
| 16 | |
| 17 | Unpack your download. Go to the top level directory of !TracMathJax and type: |
| 18 | {{{ |
| 19 | $ python setup.py bdist_egg |
| 20 | }}} |
| 21 | |
| 22 | This should create an egg file under the `dist` subdirectory of your current directory. Copy the egg to the `plugins` directory of your trac project. If you have any difficulties installing consult these [t:wiki:TracPlugins trac plugin installation steps]. |
| 23 | |
| 24 | Next, download a copy of [http://www.mathjax.org MathJax] and install it on your server to a location readable by the web server. |
| 25 | |
| 26 | To activate the component, edit your project's `trac.ini` file to include: |
| 27 | {{{ |
| 28 | [components] |
| 29 | tracmathjax.* = enabled |
| 30 | }}} |
| 31 | |
| 32 | Also create a new section called `[tracmathjax]` and configure the path to where you unpacked !MathJax: |
| 33 | {{{ |
| 34 | [tracmathjax] |
| 35 | mathjax_path = /path/to/mathjax |
| 36 | }}} |
| 37 | |
| 38 | For additional customization of the display output, see the [http://www.mathjax.org/resources/docs/ MathJax documentation]. |