Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placing .tex and .svg files in a separate directory #27

Open
poldap opened this issue May 19, 2021 · 0 comments
Open

Placing .tex and .svg files in a separate directory #27

poldap opened this issue May 19, 2021 · 0 comments

Comments

@poldap
Copy link

poldap commented May 19, 2021

Description

Thank you for the great work!

I wanted to use --file-prefix tikz/ so that all .tex and .svg files were located in a subdirectory and did not clutter the workspace. Although it works for the .tex files, which are placed in the right place, they never get compiled because of os.path.base here.

itikz/itikz/__init__.py

Lines 129 to 131 in e5dc8e0

tex_path = output_path + ".tex"
pdf_path = output_path + ".pdf"
tex_filename = os.path.basename(tex_path)

What I want to do

I guess I am asking permission to go through the logic and make a PR enabling this use eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant