[OS X TeX] Problem with minted and TeXShop
David Goldenberg
goldenberg at biology.utah.edu
Fri May 30 17:01:30 EDT 2025
Hi,
Having learned about minted in a post to this group last month, I have been exploring it a bit. I have tried it with three different Macs with very similar, but not identical configurations. On two, I was able to get it to work without much trouble, but on the third, I am getting this error when I try to typeset a LaTeX file with minted from TeXShop:
./minted_test.tex:61: Package minted Error: minted v3+ executable is not installed or is not added to PATH; or MiKTeX is being used with -aux-directory or -output-directory without setting a TEXMF_OUTPUT_DIRECTORY environment variable.
But, I can typset the file using pdflatex from the command line without any obvious problems. So, I presume this has something to do with how TeXShop is looking for what it needs.
In TeXShop, the path is set to:
/Library/TeX/texbin
and the LaTeX engine is set to:
pdflatex --file-line-error --synctex=1 -shell-escape
The latexminted.py executable is located in:
/Library/TeX/texbin
(The file is an alias to /usr/local/texlive/2025/texmf-dist/scripts/minted/latexminted.py)
Any suggestions would be greatly appreciated!
Thanks,
David Goldenberg
--
School of Biological Sciences
University of Utah
257 South 1400 East
Salt Lake City, UT 84112-0840
E-mail: goldenberg at biology.utah.edu
Web page: http://goldenberg.biology.utah.edu
More information about the MacOSX-TeX
mailing list