I have a .svg graphic in a tex document. I am getting the following error when I use mactex:

Package svg Warning: You didn't enable shell escape' (orwrite18') (svg) so it wasn't possible to launch the Inkscape export (svg) for `figures/graphaside.svg' on input line 149.

! Package svg Error: File `graphaside_svg-tex.pdf' is missing.

Using Sharelatex the file compiles fine, on my Mac it does not.

What's going on?

  • You need to enable shell escape when you compile. Are you using a front end to compile or compiling directly in Terminal? – Herb Schulz Feb 12 '18 at 14:48
  • I'm using pdftex via terminal – rpg711 Feb 12 '18 at 15:50
  • Use pdftex —shell-escape. – Herb Schulz Feb 12 '18 at 17:32

Your Answer

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

Browse other questions tagged or ask your own question.