renders for packaging

This commit is contained in:
Lafrite 2014-02-21 06:27:33 +01:00
parent 77da30d0b7
commit ab903c368e
2 changed files with 8 additions and 8 deletions

View File

@ -395,10 +395,10 @@ if __name__ == '__main__':
#exp="-2*4(12 + 1)(3-12)"
#test(exp)
#exp="-2+a+(12 + 1)(3-12) : 34a"
##test(exp)
#e = Expression(exp)
#print(e.render(render = tex_render))
exp="-2+a+(12 + 1)(3-12) / 34a"
#test(exp)
e = Expression(exp)
print(e.render(render = tex_render))
#exp="-2*b+a(12 + 1)(3-12)"
#test(exp)

View File

@ -1,10 +1,10 @@
#!/usr/bin/env python
# encoding: utf-8
from render import Render
from fraction import Fraction
from formal import FormalExp
from generic import first_elem
from .render import Render
from .fraction import Fraction
from .formal import FormalExp
from .generic import first_elem
# ------------------------
# A console render