Contents
***LTX***
Description
Converts LaTeX into PNG in MoinMoin wiki, using free online service, such as http://ltx4u.net
Download & Release Notes
Download |
Release Version |
Moin Version |
Release Notes |
|
1.7?-1.9x |
|
Usage
Instructions are for v1.9, runnning wsgi. Permissions slightly different if running as cgi
- Drop this file into data/plugin/macro as LTX.py. (should be readable by apache)
- Create a new directory ltxpngs in your public_html directory, writeable by apache
- Create a file ltxlog.html within that directory, writable by apache
- restart wsgi, or restart webserver
Example
<<LTX(\int_0^\infty e^{-x^2}dx)>>
Copyright
none
License
GNU GPL
Bugs
Discussion
Hi
have a look at PEP8. Don't send str but unicode. Have also a look on the sendcache module. so you don't need a dir not in scope of the wiki. Pleae use logging instead of print.
The above suggestions may be difficult for me. I would be happy if somebody else could implement the above suggestions and upload a revised version.
Have a look at text_x_mathtran