I got some problems moving from Overleaf to local compilers.
Earlier, in Overleaf, I could just use
\usepackage{svg}
...
\hspace*{0.2\textwidth} \includesvg[width=0.5\textwidth]{optic}
But now, in TeXStudio with TeXLive I have some errors with it:
Package svg Error: File `optic_svg-tex.pdf_tex' is missing. ...h} \includesvg[width=0.5\textwidth]{optic}
You didn't enable `shell escape' (or `write18')(svg) so it wasn't possible to launch the Inkscape export(svg) for `optic.svg'
I didn't find anything working correctly on forums. I set something in TeXStudio and in Windows, but it doesn't work.
Can anybody make full guide how to use \includesvg in TeXStudio? I also tried MiKTex, the problem was the same.




shell-escapeenabled. Can you show a screenshot of your texstudiopreferences->Commands? – samcarter_is_at_topanswers.xyz Dec 29 '23 at 14:28pdflatex.exe -synctex=1 -interaction=nonstop -shell-escape %.tex? – samcarter_is_at_topanswers.xyz Dec 29 '23 at 14:54It doesn't continue compilating after these logs
– Antoine Russ Dec 29 '23 at 15:01-interaction=nonstopmode) – samcarter_is_at_topanswers.xyz Dec 29 '23 at 15:10.svgfile so we can reproduce the problem? – samcarter_is_at_topanswers.xyz Dec 29 '23 at 15:11-interaction=nonstopmodemeans? – Antoine Russ Dec 29 '23 at 19:33