...
Status | ||||
---|---|---|---|---|
|
Latex > Render Migration > Use MathJax Engine
Prerequisites
You must have a working version of TeX installed on your Confluence server
The commands
latex
anddvipng
must be reachable by the $PATH system environment variable.
Both latex
and divpng
are included in many TeX distributions.
...
The result should be a generated a file named simple.png
containing a familiar equation (E=mc^2). Then view the image if it’s a local instance. Which you can view by sftp getting the png file from application node → bastion node → local machine.
Windows Notes
Some Windows users have had difficulty getting dvipng to work. In response to this problem, James Matheson has graciously contributed a mimetex-based version of the plug-in: mimetex-plugin.zip. Thanks, James!
Note that to use the above mimetex version, you will need to ensure that you have a copy of mimetex.exe in the system path. You can find a copy of mimetex.exe in the Mimetex download package at http://www.forkosh.com/mimetex.exe/windows/mimetex.zip.
Shared home Setup
Once you've tested your TeX installation as above, follow these steps to install and configure the LaTeX plug-in. (Note that CONFLUENCE_HOME_DIR
should be replaced with the directory specified in your confluence-init.properties
file).
...
Server
Create a directory called
CONFLUENCE_HOME_DIR/shared-home/latex
and copy the following files into it:
Info |
---|
The properties files you installed in your Also, the properties file includes parameters to send to You won't need to edit these files to use the LaTeX plug-in, although the LaTeX Jedi (you'll know if you are one) won't be able to resist tweaking these files. |
...