[OS X TeX] Gnuplot call from within pgfplot
Herbert Schulz
herbs at wideopenwest.com
Sat Sep 14 14:53:17 CEST 2013
On Sep 13, 2013, at 6:09 PM, Joshua Smith <jhs0807 at gmail.com> wrote:
>
> 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
Howdy,
Could you send me a copy of that texmf.cnf file so I can see what's going on? In any case, I enclose a version for you to try.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texmf.cnf
Type: application/octet-stream
Size: 522 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20130914/a94736d4/attachment.obj>
-------------- next part --------------
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the macostex-archives
mailing list