[OS X TeX] TeX Distribution preference pane
John Thoo
jthoo at yccd.edu
Wed Jul 13 05:35:41 CEST 2016
> On Jul 12, 2016, Herbert Schulz wrote:
>
>> 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.
Hi, Herb.
[538] bash-3.2$ cat /etc/paths.d/TeX
/Library/TeX/texbin
[539] bash-3.2$ cat /etc/profile | less
# System-wide .profile for sh(1)
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
export PATH
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
## TeX added /usr/texbin start at Fri Mar 12 10:17:13 PST 2010
## Do not remove the previous line
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/texbin"
export PATH
fi
## Do not remove the next line
## TeX added /usr/texbin end at Fri Mar 12 10:17:13 PST 2010
## setloginpath added /usr/local/bin start at Sat Jul 9 09:14:22 PDT 2016
## Do not remove the previous line
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/local/bin"
export PATH
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
## TeX added /usr/texbin start at Fri Mar 12 10:17:13 PST 2010
## Do not remove the previous line
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/texbin"
export PATH
fi
## Do not remove the next line
## TeX added /usr/texbin end at Fri Mar 12 10:17:13 PST 2010
## setloginpath added /usr/local/bin start at Sat Jul 9 09:14:22 PDT 2016
## Do not remove the previous line
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/local/bin"
export PATH
fi
## Do not remove the next line
## setloginpath added /usr/local/bin end at Sat Jul 9 09:14:22 PDT 2016
[541] bash-3.2$ ls -alF ~/.MacOSX
ls: /Users/jbthoo/.MacOSX: No such file or directory
[542] bash-3.2$
I hope that helps.
---John.
(I receive the digest.)
-----------------------------------------------------------------------
Algebra in Context. Teaching introductory algebra using history as the
vehicle. Johns Hopkins Univ Press. www.amazon.com/dp/1421417286
MAA review: http://www.maa.org/press/maa-reviews/algebra-in-context
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list