Somehow \includestandalone from the standalone package does not create a pdf with this main file:


This is a code of the standalone file:

\draw[->] (0,1cm)--++(14,-5);

I thought from reading the manual of the standalone package usage of (with pdflatex):


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:


does not work, no pdf - no compilation it says:)

Please explain why it could be so that I do not get pdf after compilation.

  • 2
    Works fine here. You need to compile with shell-escape enabled, 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:08
  • Really? That does not happen here (Kubuntu 13.10, v1.1b of standalone) , I get test2.pdf. Add \listfiles before \documentclass to get a list of packages and their versions near the end of the log file. – Torbjørn T. Feb 26 '14 at 13:14
  • There is something similar, but I can make it work:tex.stackexchange.com/questions/85055/… – saldenisov Feb 26 '14 at 13:17

Here is the answer to my question. It was not easy to find. Latex Standalone always rebuilds / apostroph in filename?

Standalone package should be updated with this (if you use MiKTEX):https://bitbucket.org/martin_scharrer/standalone/downloads. Then it works perfectly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.