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
|
||||
import pytex
|
||||
from mapytex import Expression, Integer, Decimal, Polynomial, render
|
||||
import sympy
|
||||
import bopytex.filters as filters
|
||||
|
||||
formatter = logging.Formatter("%(name)s :: %(levelname)s :: %(message)s")
|
||||
@ -31,6 +32,7 @@ def setup():
|
||||
"Integer": Integer,
|
||||
"Decimal": Decimal,
|
||||
"Polynom": Polynomial,
|
||||
"sympy": sympy,
|
||||
# "Fraction": mapytex.Fraction,
|
||||
# "Equation": mapytex.Equation,
|
||||
# "random_str": mapytex.random_str,
|
||||
@ -157,7 +159,7 @@ def crazy_feed(*args, **kwrds):
|
||||
|
||||
|
||||
def clean(directory):
|
||||
pytex.clean(directory, ["*.aux", "*.log", "*.out", "*.xsim"])
|
||||
pytex.clean(directory, ["*.aux", "*.log", "*.out", "*.xsim", "*.tkzfonct.*"])
|
||||
|
||||
|
||||
def texcompile(filename):
|
||||
|
Loading…
Reference in New Issue
Block a user