[OS X TeX] Gnuplot call from within pgfplot

Joshua Smith jhs0807 at gmail.com
Fri Sep 13 10:46:28 EDT 2013

> Recent versions of TeXShop have shell-escape turned off by default. You may have to enable the sepdflatexmk engine file (it's pdflatexmk with shell-escape enabled). To do this move the sepdflatexmk.engine file from ~/Library/TeXShop/Engines/Inactive/Latexmk two folders higher, to ~/Library/TeXShop/Engines. Under OS X 10.7 and later the ~/Library folder is hidden in Finder by default; to open it press the Option key while you click on the Go Menu in Finder and a new menu item to allow you to open the folder will show up.


Aha!  I was using pdflatexmk and not sepdflatexmk.  I did not know of sepdflatexmk, nor did I understand that pdflatexmk overrules the command

pdflatex --file-line-error --synctex=1 --shell-escape

in TeXShop's preferences on the Engine pane, which has shell-escape enabled.


More information about the MacOSX-TeX mailing list