ez projects / latex_template_operators
|UNIX name||Owner||Status||Version||Compatible with|
|latex_template_operators||Paul Borgermans||planning||0.2||3.6.x (and earlier)|
- Make sure you have the required packages on your server (LaTeX). For
info look at the original latexrender page ( )
- Unpack the archive available from
into your extension directory
- Activate the latex extension in your admin interface
The $inputstring should contain your LaTeX string without $ or \( )\
(the LaTeX math delimiters)
Additional parameters are , ,
which are by default set to ('png',12,120)
Returns the URL to the converted image.
WHERE TO USE
You can use this operator anywhere, but it is probably most useful in a
new content class. Just add a plain text field and use the operator
in a custom template for this class as described below. A package is
provided in the distribution (made in a 3.6.1 site).
However, you may as well add a custom tag for xml text fields. An example
template and settings are provided.
EXAMPLE TEMPLATE CODE
For versions lower than 3.6, you will need to use the old syntax ... but
it should work.