[OS X TeX] Gnuplot call from within pgfplot

Joshua Smith jhs0807 at gmail.com
Fri Sep 13 19:09:31 EDT 2013


On Sep 13, 2013, at 11:03 AM, Herbert Schulz wrote:

> Shell Escape has been turned off by default in TeXShop since TeX Live 2012 (and now TeX Live 2013) came out. The default TeXShop preference you note has also removed the --shell-escape flag but the new default preference won't overwrite that preference that was set by a previous version of TeXShop. You can use the default button to set it to the new default.
> 
> This has come about since, starting with TeX Live 2012 (installed by MacTeX-2012, ...) there is a way to add gnuplot to a list of Restricted Shell Escape programs that pdflatex allows to run without using shell-escape. There should be a document called something like Eps-Tiff-Conversion.pdf in /Applications/TeX. See Appendix B for adding the program (the example uses Apple's sips but just substitute gnulot for sips).

Herb,

I followed the instructions in the file and I added gnuplot to the list of restricted shell escape programs.  I tested it, and a minimal example worked pdflatexmk (and not just sepdflatexmk).  However, in following your instructions, when I used the command:

sudo -H mktexlsr

I got the warning:

warning: kpathsea: /usr/local/texlive/2013/../texmf-local/web2c/texmf.cnf: Last line of file ends with \.

I had added an extra blank line to the file, as the instructions stated in clear, bold letters.  So, why the warning?

Thanks,
Josh


More information about the MacOSX-TeX mailing list