-
Notifications
You must be signed in to change notification settings - Fork 1
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
No figure if file name contains space #21
Comments
Thanks for your report -- when I try to run your code I get
How exactly are you compiling this, and what's your TeX installation? |
Thank you for your quick answer. I am using texlive with texstudio and compiling with XeLatex and shell escape for gnuplottex on linux. Otherwise there is nothing special. I don't see, where the error regarding a color is coming from. Edit: Ah, wait a minute. Even more minimalistic:
|
Ok, it works if I include the Are you running this on Linux, Windows, Mac OS? |
Ah, ok, I needed to include a space in the file name. I can reproduce the bug. It looks like the conversion of the figure actually works, just the check whether the file exists fails. There's multiple levels of quoting going on here and I'm not sure how to fix this. For now, I'd recommend to simply not have spaces in your file names. And |
Yes, it is working if no spaces are used in the filename. Edit: It is working if I rename both files with the "" in the name and remove those. So the problem seems to be, that the filename is not recognised because of the "". Do you know where they are added? |
The quotes are added automatically by TeX. And yes, the problem is just handling the quoting at different levels in the code. |
For references, I solved it in my project via this solution in my project https://github.com/leo-colisson/robust-externalize , not sure if you got the same issue: https://tex.stackexchange.com/questions/418670/avoid-quotation-marks-when-using-jobname-or-currfilename |
If there is a space in the Latex document containing the gnuplottex code, the figure will be created but not displayed in Latex. Maybe because the created pdf and tex files from gnuplottex contain " in them.
A minimalistic example in a file named
test empty.tex
:The text was updated successfully, but these errors were encountered: