Closed VinciTec closed 4 years ago
I ran your code on Windows 10 with TikzPictures v3.0.5 and it worked just fine. Can you confirm your version of Windows and TikzPictures?
I can confirm I'm running Windows 10 with TikzPictures v3.0.5. I did just update Windows and reinstalled TikzPictures, but the same issue persists unfortunately.
Might it be related to me having the Julia installation on a different drive than my user (and thus also .julia) directory?
That shouldn't be an issue, but maybe git it a try? Out of curiosity, does naming it "mypic" fix this? I wonder if the \t
in the path is interpreted as a tab character.
Thanks again for the quick replies. Changing the filename does not fix the problem; note that I am able to safe the picture as TEX (and then compile it manually). Also when trying to save as SVG the same problem seem to arise, but in this case the temporary folder is not removed, causing me to end up with a lot of temporary folders in my root directory: was this meant to be implemented for windows in this way (apart from being not removed of course)?
I will try to use a clean Julia installation and see if the issue is still present.
It could be an issue with the creation of the temporary directory. What version of Julia are you using?
I just performed a clean install of Julia with packages, so I'm runnning:
I thought the issue might be related to the REPL, which I was using for all tests. But I just tried running the same code in a Julia file and the same error message still appears.
Ah, okay. I'm using Julia 1.3. I know 1.4 had some changes with how temporary directories work. I'll check it out.
Ah alright thank you. I just tried downgrading to 1.3.1, this indeed fixed the issue. So there might be something there.
Works on Julia 1.4 now.
I noticed, thanks
Trying to save TikzPicture as PDF or SVG on windows seems to give a LaTeX error. I think the error lies in how the path is given to LuaLaTeX.
Example:
Error:
The LaTeX error:
The temporary directory seems to be made in the root folder, of my D: drive in this case. I could not find out whether this was wanted behaviour, but I think this directory should be local.
The problem does not appear to be with my TeX distribution: when I manually execute
lualatex --enable-write18 testpic.tex
I do get the correct PDF.Hope this is enough information. Thank you very much for helping in advance.