Closed max-prime-math closed 1 year ago
Seems like the target image file is kinda messed up. Mind providing the log in the console > output > Super Figure
?
Editing vector figure: fig/test
File 'fig/test.svg' doesn't exists, using template '~/.config/super-figure/templates/template.svg'
Copying from: 'C:\Users\[myuserneame]/.config/super-figure/templates/template.svg' to: 'C:\c:\[path-to-my-project]\fig\test.svg'
Could not copy template file 'C:\Users\[myusername]/.config/super-figure/templates/template.svg'. Os Error: Error: ENOENT: no such file or directory, mkdir '\\?\C:\c:\[path-to-my-project]\fig'
Yeah, it looks like there are two references to C drive. If I try to run this in a different drive, say G, then it'll give me a similar message:
Copying from: 'C:\Users\[myuserneame]/.config/super-figure/templates/template.svg' to: 'C:\g:\[path-to-my-project]\fig\test.svg'
I will have a look at it and test it on a Windows machine in a hour, maybe tomorrow
Good to go, tested on linux and windows. If you found any other problem let me know. Cheers, happy holidays!
Thanks for the quick fix! I'm really enjoying using this. RIP Castel!
I get the following error in Windows after selecting text
fig/text
, bringing up the command pallet, selectingSuper Figure: Insert vector figure as latex snippet
and choosing the template~/.config/super-figure/templates/template.svg
which does indeed exist.Could not copy template file 'C:\Users\[myusername]/.config/super-figure/templates/template.svg'. Os Error: Error: ENOENT: no such file or directory, mkdir '\\?\C:\c:\[path-to-my-project]\fig'
The only extension settings that I have changed are the paths to Inkscape and Gimp, which are
"C:\Program Files\Inkscape\bin\inkscape.exe"
and"C:\Program Files\GIMP 2\bin\gimp-2.10.exe"
, respectively.