Somehow \includestandalone from the standalone package does not create a pdf with this main file:
\documentclass{article}
\usepackage{standalone}
\usepackage{tikz}
\begin{document}
\begin{figure}[h]
\includestandalone[mode=buildnew]{test2}
\includestandalone[mode=image]{test2}
\end{figure}
\end{document}
This is a code of the standalone file:
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\draw[->] (0,1cm)--++(14,-5);
\end{tikzpicture}
\end{document}
I thought from reading the manual of the standalone package usage of (with pdflatex):
\includestandalone[mode=buildnew]{test2}
will give me in my folder a pdf file test2.pdf after compilation, but I do not have it, that is why the second line of my code:
\includestandalone[mode=image]{test2}
does not work, no pdf - no compilation it says:)
Please explain why it could be so that I do not get pdf after compilation.
shell-escapeenabled, have you done that? – Torbjørn T. Feb 26 '14 at 11:03\includestandalone[mode=buildnew]{test2} \includestandalone[mode=image]{test2}does not work, cause the first line creates pdf with name 'test2.pdf' ('- is a symbol which surrounds file name). So compiler can not find test2.pdf. How it could be solved? – saldenisov Feb 26 '14 at 13:08standalone) , I gettest2.pdf. Add\listfilesbefore\documentclassto get a list of packages and their versions near the end of the log file. – Torbjørn T. Feb 26 '14 at 13:14