I am trying to include SVG into my document using the SVG package. On OSX Yosemite, I use Sublime Text 3 with the LatexTools Package, BasicTex 2015 and Inkscape installed via Homebrew Cask. Additional missing Tex packages as the SVG package are installed using tlmgr. The inkscape command is available, as a symlink /usr/local/bin/inkscape has been created automatically by homebrew.
Here is my minimal example, taken and even simplified from here:
\documentclass{article}
\usepackage{svg}
\begin{document}
\begin{figure}[htbp]
\centering
\includesvg{test}
\caption{svg test}
\end{figure}
\end{document}
test.svg is a very simple graphic and the file is in the same directory as test.tex. As proposed here I added the following lines to the builder_settings:
"program": "pdflatex",
"command": ["latexmk", "-cd", "-e", "$pdflatex = '%E -shell-escape -interaction=nonstopmode -synctex=1 %S %O'", "-f", "-pdf"],
I even tried to mess around with the path definitions in svg.sty from as proposed here but still, the build engine obviously is not able to use Inkscape to generate the pdf and tex files. This is the ST console output:
[Compiling /Users/mcnesium/Desktop/ma/tex/test.tex]
SimpleBuilder: pdflatex run 1; done.
Errors:
./test.tex:7: LaTeX Error: File `./test' not found. [ \includesvg{test}]
./test.tex:7: LaTeX Error: File `./test' not found. [ \includesvg{test}]
./test.tex:7: LaTeX Error: File `test.pdf_tex' not found. [ \includesvg{test}]
[Done!]
Who has a similar setup and can point me to whats wrong with mine?
\includesvg{test.svg}? – Bordaigorl Oct 15 '15 at 16:58