Is there a way to include svg figures directly into LaTeX? I have only mySVG.svg file and myTex.tex file. The big question is how to include this svg into my file with extension tex. I tried all examples in this forum, but without any results for me.
Important! I have only .svg and .tex file, not .pdf_tex or my svg in pdf format. Is it possible to generate them with latex syntaxis.
Maybe i need something like this (BUT THIS NOT WORKING FOR ME)
\newcommand{\includesvg}[1]{%
\executeiffilenewer{MYSVG.svg}{MYSVG.pdf}%
{inkscape -z -D --file=MYSVG.svg %
--export-pdf=MYSVG.pdf --export-latex}%
and if this code generate PDF inside in \begin{document}
\begin{figure}
\centering
\executeiffilenewer{MYSVG.svg}{MYSVG.pdf}{inkscape -z -D --file=MYSVG.svg --export-pdf=MYSVG.pdf}
\includegraphics[width=\columnwidth]{MYSVG.pdf}
\caption{FIRST SVG}
\label{fig:normal}
\end{figure}