Attachment 'MathTran.py'

Download

   1 """MoinMoin - MathTran
   2 
   3 Usage:
   4     [[MathTran(e^{i \pi} = -1)]]
   5 
   6 @copyright: 2007 Timothy Head
   7 @license: GNU GPL v2
   8 """
   9 
  10 def execute(macro, formula):
  11    return macro.formatter.image(alt=r"tex:"+ formula)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-02-10 11:13:23, 0.2 KB) [[attachment:MathTran.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.