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

temp dir not working on Windows #14

Closed
asteppke opened this issue Dec 4, 2019 · 1 comment
Closed

temp dir not working on Windows #14

asteppke opened this issue Dec 4, 2019 · 1 comment

Comments

@asteppke
Copy link
Contributor

asteppke commented Dec 4, 2019

  • itikz version: 0.1.4
  • Python version: 3.7
  • Operating System: Windows 10

Description

The usage of a temporary directory does not work in Windows. The issue is that in many systems the temporary directory is expanded from the %temp% environment variable. This often contains a tilde character (e.g. C:\Users\ALEXAN~1\AppData\Local\Temp). Unfortunately neither pdflatex nor lualatex can deal with the tilde character unless special workarounds are used (https://tex.stackexchange.com/questions/425954/tilde-in-a-image-path).

For itikz the fix seems easy, it operates in a given working directory so the full path is not required. I will open an appropriate pull request.

@jbn
Copy link
Owner

jbn commented Jan 4, 2020

Merged and updated to pypi for v0.1.5

Thanks again, @asteppke!

@jbn jbn closed this as completed Jan 4, 2020
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

2 participants