[OS X TeX] Shell-escape
Herbert Schulz
herbs at wideopenwest.com
Fri Jan 8 14:57:05 EST 2021
> On Jan 8, 2021, at 1:03 PM, Alessandro Andretta via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>
> Hi everyone. Can anyone tell me how to create a new engine in TeXShop to typeset a file, call it foo.tex, as
> pdflatex -shell-escape foo.tex
> rather than pdflatex foo.tex ?
> So far I have used the terminal, but I’d rather have a command available in TeXShop.
>
> Thanks in advance,
>
> —aa
Howdy,
If you are willing to use a latexmk based engine, pdflatexmk, which will also run bibtex (or biber --- automatically chosen) and/or makeindex if necessary to completely typeset your document just place the lines
% !TEX program = pdflatexmk
% !TEX parameter = -shell-escape
at the top of your file.
Good Luck,
Herb Schulz
herbs at wideopenwest.com
More information about the MacOSX-TeX
mailing list