[OS X TeX] I would like TeXShop to do -kpathsea-debug=NUMBER

Herbert Schulz herbs at wideopenwest.com
Wed Feb 3 22:31:54 EST 2021



> On Feb 3, 2021, at 9:01 PM, Arthur Ogawa via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
> 
> When I run a web2c tex engine on the command line, I am used to passing it an option like, e.g.,
> 
> latex -kpathsea-debug=-1 hello
> 
> and see in the console the kdebug: statements, the details of tex's searching for files to \input.
> 
> When running TeXShop, I would like to, from time to time, do likewise. 
> 
> My attempt:
> 
> I did attempt via TeXShop’s Preferences / Engine  panel by going to the pdfTeX group where I made entries in the fields as follows:
> 
> Tex
> pdftex -shell-escape -kpathsea-debug=-1
> 
> Latex
> pdflatex -shell-escape -kpathsea-debug=-1
> 
> but without success. 
> 
> BTW, I am using engine pdflatexmk.
> 
> When I examine the Console, I find,
> 
> Running 'pdflatex -shell-escape --synctex=1 --file-line-error  -recorder  "AfterTax.tex"'
> 
> This makes me think that I really do not have clarity on how these tools fit together.
> 
> Does anyone know a way? 
> 
> Respectfully submitted—Arthur Ogawa

Howdy,

If you are using one of the latexmk based engines---you say you are using pdflatexmk---you can simply add the option using TeXShop's

% !TEX parameter = -shell-escape -kpathsea-debug=-1

which will add those options to the usual command line used for pdflatex by the pdflatexmk engine.

Good Luck,

Herb Schulz
herbs at wideopenwest.com




More information about the MacOSX-TeX mailing list