Closed Suchun-sv closed 2 months ago
Hi suchunsv, thanks for pointing this out! Also, I'm glad to hear that this package is useful to you.
I'll make this change ASAP.
Solved with PR #10
You can now update your existing installation of critdd as follows:
pip install --force-reinstall --no-deps 'critdd @ git+https://github.com/mirkobunse/critdd@main'
Hi mirkobunse,
Thanks for your gorgeous work, I meet a little problem that when I using the linux (Ubuntu 22.04) with pdflatex 3.141592653-2.6-1.40.24, the diagram.to_file will output all the intermediate files (.aux, .log) and .pdf in the current directory rather than the subdirectories.
For example, if I pass the "./output/a.py", actually, there only the .tex file will show in ./output, the other files will produced only in the current directory.
After check the code, I find it is the
tikz.py:to_file
problem. The original code only use"pdflatex", "-interaction=nonstopmode", "-halt-on-error", f"-output-directory={output_dir}", path
, I add the `f"-output-directory={output_dir}", which solves the problem in my side.best, suchunsv