We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db5bd2b commit 59fa6c5Copy full SHA for 59fa6c5
manim/utils/tex_file_writing.py
@@ -3,8 +3,7 @@
3
4
from pathlib import Path
5
6
-import manim.constants as consts
7
-
+from .. import constants
8
from .. import dirs
9
from ..logger import logger
10
@@ -16,7 +15,7 @@ def tex_hash(expression):
16
15
return hasher.hexdigest()[:16]
17
18
def tex_to_svg_file(expression, source_type):
19
- tex_template = consts.TEX_TEMPLATE
+ tex_template = constants.TEX_TEMPLATE
20
tex_file = generate_tex_file(expression, tex_template, source_type)
21
dvi_file = tex_to_dvi(tex_file, tex_template.use_ctex)
22
return dvi_to_svg(dvi_file, use_ctex=tex_template.use_ctex)
0 commit comments