***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

LTX.py

1.7?-1.9x

Usage

Instructions are for v1.9, runnning wsgi. Permissions slightly different if running as cgi

  1. Drop this file into data/plugin/macro as LTX.py. (should be readable by apache)
  2. Create a new directory ltxpngs in your public_html directory, writeable by apache
  3. Create a file ltxlog.html within that directory, writable by apache
  4. restart wsgi, or restart webserver

Example

<<LTX(\int_0^\infty e^{-x^2}dx)>>

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

MoinMoin: MacroMarket/LTX (last edited 2012-01-30 09:19:17 by ReimarBauer)