[OS X TeX] TeXShop not running the sepdflatexmk engine

Joshua Smith smithjh at lafayette.edu
Tue Jul 8 10:02:31 EDT 2025


Hi all,

I am using TikZ to create a plot using gnuplot, which I know requires --shell-escape.  I am trying to call the sepdflatexmk engine, so I used TeXShop’s Macros to insert the following at the top of my file:

% !TEX TS-program = sepdflatexmk

However, when I typeset the file, it just seems to call pdflatexmk.  I get the following in the Console:

Rc files read:
  /Volumes/Home/Library/TeXShop/bin/latexmkrcedit
  /Volumes/Home/Library/TeXShop/bin/tslatexmk/pdflatexmkrc
Latexmk: This is Latexmk, John Collins, 15 June 2025. Version 4.87.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex':  Reasons for rerun
Changed files or newly in use/created:
  09-10-2025 Lecture Slides.aux
  09-10-2025 Lecture Slides.tex
Category 'changed_user':
  09-10-2025 Lecture Slides.tex
Category 'never_run':
  pdflatex

------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  --synctex=1 --file-line-error  -recorder  "09-10-2025 Lecture Slides.tex"'
------------

And, when it gets to the TikZ code, I get the following error:

./09-10-2025 Main.tex:233: Package pgfplots Error: Sorry, the gnuplot-result file '"09-10-2025 Lecture Slides.cosh.table"' could not be found. Maybe you need to enable the shell-escape feature? For pdflatex, this is '>> pdflatex -shell-escape'. You can also invoke '>> gnuplot <file>.gnuplot' manually on the respective gnuplot file..

What am I doing wrong?

Thanks,
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20250708/73cc5910/attachment.htm>


More information about the MacOSX-TeX mailing list