[OS X TeX] TeX Distribution preference pane
Herbert Schulz
herbs at wideopenwest.com
Tue Jul 12 07:22:52 EDT 2016
> On Jul 11, 2016, at 7:33 PM, John Thoo <jthoo at yccd.edu> wrote:
>
> Howdy, Herb. Thanks for your response.
>
> In Yosemite, I had the path PATH="/usr/texbin:"$PATH in my .profile,
>
> [517] bash-3.2$ echo $PATH
> /usr/texbin:/sw/bin:/sw/sbin:/Users/jbthoo/claw:/bin:/sbin:/usr/bin:/usr/local/bin:/opt/X11/bin:/Users/jbthoo:
>
> for pdflatex to work.
>
> Removing the path I had for Yosemite, if I do not explicitly enter the path PATH="/Library/TeX/texbin:"$PATH in my .profile, pdflatex does not work in El Capitan. (Note: "pltx" is an alias in my .profile: pltx='pdflatex -shell-escape' .)
>
> [519] bash-3.2$ echo $PATH
> /sw/bin:/sw/sbin:/Users/jbthoo/claw:/bin:/sbin:/usr/bin:/usr/local/bin:/opt/X11/bin:/Users/jbthoo:
> [520] bash-3.2$ pltx ca_main.tex
> bash: pdflatex: command not found
>
>
> After entering the path in my .profile, pdflatex works.
>
> [523] bash-3.2$ echo $PATH
> /Library/TeX/texbin:/sw/bin:/sw/sbin:/Users/jbthoo/claw:/bin:/sbin:/usr/bin:/usr/local/bin:/opt/X11/bin:/Users/jbthoo:
> [524] bash-3.2$ pltx ca_main.tex
> This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex)
> \write18 enabled.
> entering extended mode
> (./ca_main.tex
> LaTeX2e <2016/03/31>
>
> [... blah, blah, blah...]
>
> Output written on ca_main.pdf (112 pages, 712579 bytes).
> Transcript written on ca_main.log.
>
>
> I know just enough Unix to be dangerous to myself, and even less now, and I could have done something long ago that interferes with the normal operation of the system in assigning the PATH. I don't know.
>
> ---John.
> (I receive the digest.)
Howdy,
There must be something interfering with the normal operation of the OS in setting PATH. Please run the following commands
cat /etc/paths.d/TeX
cat /etc/profile
ls -alF ~/.MacOSX
in Terminal and let me know the output.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list