Feat: add sympy and clean tikzpictures
This commit is contained in:
parent
9a40119a19
commit
ee4e98cfc2
@ -12,6 +12,7 @@ import logging
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import pytex
|
import pytex
|
||||||
from mapytex import Expression, Integer, Decimal, Polynomial, render
|
from mapytex import Expression, Integer, Decimal, Polynomial, render
|
||||||
|
import sympy
|
||||||
import bopytex.filters as filters
|
import bopytex.filters as filters
|
||||||
|
|
||||||
formatter = logging.Formatter("%(name)s :: %(levelname)s :: %(message)s")
|
formatter = logging.Formatter("%(name)s :: %(levelname)s :: %(message)s")
|
||||||
@ -31,6 +32,7 @@ def setup():
|
|||||||
"Integer": Integer,
|
"Integer": Integer,
|
||||||
"Decimal": Decimal,
|
"Decimal": Decimal,
|
||||||
"Polynom": Polynomial,
|
"Polynom": Polynomial,
|
||||||
|
"sympy": sympy,
|
||||||
# "Fraction": mapytex.Fraction,
|
# "Fraction": mapytex.Fraction,
|
||||||
# "Equation": mapytex.Equation,
|
# "Equation": mapytex.Equation,
|
||||||
# "random_str": mapytex.random_str,
|
# "random_str": mapytex.random_str,
|
||||||
@ -157,7 +159,7 @@ def crazy_feed(*args, **kwrds):
|
|||||||
|
|
||||||
|
|
||||||
def clean(directory):
|
def clean(directory):
|
||||||
pytex.clean(directory, ["*.aux", "*.log", "*.out", "*.xsim"])
|
pytex.clean(directory, ["*.aux", "*.log", "*.out", "*.xsim", "*.tkzfonct.*"])
|
||||||
|
|
||||||
|
|
||||||
def texcompile(filename):
|
def texcompile(filename):
|
||||||
|
Loading…
Reference in New Issue
Block a user