Skip to content
Snippets Groups Projects
Commit f449e48d authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

Prace: Fix geneorvání asymptotu

parent 1368a931
Branches
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ def main(build_dir=Path("build_pdf"), link_out=True):
env = os.environ.copy()
env = os.environ.copy()
env["ASYMPTOTE_DIR"]=f".:{d}"
subprocess.run(["asy", file+".asy", "-o", file+".pdf", "-f", "pdf", "-tex", "pdftex"], check=True, cwd=build_dir, env=env)
subprocess.run(["asy", file+".asy", "-f", "pdf", "-tex", "pdftex"], check=True, cwd=build_dir, env=env)
return img_from_source(element, context, processor, file+".pdf")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment