[OS X TeX] Shell-escape

Herbert Schulz herbs at wideopenwest.com
Fri Jan 8 20:57:05 CET 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


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

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list.