I am trying to follow the MacTeX-2012 instructions for migrating from (unsafe) shell-escape to using "restricted-shell-escape". But it is unclear to me what items to put in the file that specifies the "safe list" for this mode.
For example, if I remove shell-escape from my command line (or, disable it from the warning dialog in TeXShop), and try to use a package that requires it, like, for example, auto-pst-pdf I get an error:
"You need to run LaTeX with the equivalent of "pdflatex -shell-escape" Or turn off auto-pst-pdf."
when processing even the simplest of files:
\documentclass{article}
\usepackage{auto-pst-pdf}
\begin{document}
Test.
\end{document}
I also notice that I get other warnings, even with this simple example, such as
"Package ifplatform Warning: Shell escape is disabled, so I can only detect \ifwindows"
and wonder if there is a way to avoid these, and the corresponding loss of functionality using "restricted-shell-escape" -- or at least find out what I'm missing without scanning the log.
What items do I need to add to my texmf.cnf to get auto-pst-pdf to work without enabling shell-escape? How, in general, do I determine what items should be in this list? Are there some things that will only work with the shell-scape flag, and not with "restricted-shell-escape"; how can I determine what those are?
The (local) texmf.cnf file:
shell_escape_commands = bibtex,bibtex8,kpsewhich,makeindex,mpost,repstopdf
pdftexbinary provided with the pretest version had a bug, which seems to have been corrected in the release version. Try the sample file you find in this message by Reinhard Kotucha which used to trigger the bug, but in my TeX Live 2012/Mac TeX works correctly. However this doesn't work (and never has) with XeTeX. – egreg Jul 21 '12 at 23:44hardwrappackage that uses the shell-escape. (Thehardwrappackage is used by later versions oftufte-latexto word-wrap the log messages nicely.) – godbyk Jul 22 '12 at 00:55hardwrap, what can I do to avoid the error? – orome Jul 22 '12 at 03:48hardwrapor that there's an issue with your installation. – godbyk Jul 22 '12 at 04:36pdftex; but the production date yourpdflatexformat is before the release date of TeX Live, so it seems that you have the pretest version of the binary. Run TeX Live Utility and update all. – egreg Jul 22 '12 at 07:00