I use gnuplot with the term cairolatex to create and incorporate graphics to my LaTeX projects. This terminal returns two files. One is *.tex and the other one is *.svg.
But I'm having trouble when I try to organize the project into different directories. For instance, I've created a folder \fig for all the figures. To include them, I use the piece of code below.
\begin{figure}[H]
\centering
\scalebox{0.55}{\input{project/fig/fig1.tex}}
\caption{some caption}
\label{fig:some label}
\end{figure}
But when I do so, even though, when both files are in the directory project/fig/ it seems like just the file *.tex is imported.
I've got something like this:
But I'm expecting this:
It's a bit annoying because sometimes I have to manage several figures.


project/fig/with the trailing slash, see https://tex.stackexchange.com/questions/139401/how-to-use-graphicspath – Boris May 12 '19 at 21:22