[OS X TeX] Problem with minted and TeXShop
Herbert Schulz
herbs2 at mac.com
Fri May 30 21:15:24 EDT 2025
> On May 30, 2025, at 4:01 PM, David Goldenberg <goldenberg at biology.utah.edu> wrote:
>
> 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
Howdy (again),
Also. do you happen to have a texmf.cnf file located in /usr/local/texlive/texmf-local/web2c? Run
ls /usr/local/texlive/texmf-local
in Terminal and see if texmf.cnf comes up. (The command may fail if that folder doesn't exist.)
Good Luck,
Herb Schulz
herbs2 at mac.com
More information about the MacOSX-TeX
mailing list