I have the following code:
\documentclass[12pt]{article}
\usepackage{svg}
\setsvg{inkscape=inkscape -z -D, inkscapeversion=1, svgpath=figures/}
\begin{document}
\begin{figure}
\centering
\includesvg[width=0.5\textwidth]{fig}
\end{figure}
\end{document}
Running the code example in TexStudio with txs:///pdflatex/[--shell-escape]
results in the following error:
Package svg Error: File 'fig_svg-tex.pdf' is missing. \includesvg[width=0.5\textwidth]{fig}
The image's path is ./figures/fig.svg
. Why isn't it exproted to pdf format? Any ideas how to make that work?